diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 21:03:04 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 21:03:04 +0000 |
| commit | 05bfa7a553ea605d36c34df0aec45bd61f17b978 (patch) | |
| tree | 0f7e59f20b19101e6e2d5b7756c2769068f19eaa /src/ui/widget | |
| parent | Rm unused code now Gtk+ >= 3.22 dependency is set (diff) | |
| parent | Update it.po (diff) | |
| download | inkscape-05bfa7a553ea605d36c34df0aec45bd61f17b978.tar.gz inkscape-05bfa7a553ea605d36c34df0aec45bd61f17b978.zip | |
Merge branch 'master' of gitlab.com:inkscape/inkscape
Diffstat (limited to 'src/ui/widget')
| -rw-r--r-- | src/ui/widget/combo-tool-item.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/widget/combo-tool-item.cpp b/src/ui/widget/combo-tool-item.cpp index eb26e5c6e..a6c44f7eb 100644 --- a/src/ui/widget/combo-tool-item.cpp +++ b/src/ui/widget/combo-tool-item.cpp @@ -100,12 +100,6 @@ ComboToolItem::ComboToolItem(Glib::ustring group_label, void ComboToolItem::set_active (gint active) { - - if (active < 0) { - std::cerr << "ComboToolItem::set_active: active < 0: " << active << std::endl; - return; - } - if (_active != active) { _active = active; @@ -176,7 +170,6 @@ void ComboToolItem::on_changed_combobox() { int row = _combobox->get_active_row_number(); - if (row < 0) row = 0; // Happens when Gtk::ListStore reconstructed set_active( row ); _changed.emit (_active); _changed_after.emit (_active); |
