diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-05-23 14:47:28 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-05-26 07:45:16 +0000 |
| commit | a4f0db6313fe187d96f9c25011de28903d8337d5 (patch) | |
| tree | d39a7c46dd495b6699b8404d83a6799fed08d5e3 /src/ui/widget/combo-tool-item.cpp | |
| parent | Rename wrong named function (diff) | |
| download | inkscape-a4f0db6313fe187d96f9c25011de28903d8337d5.tar.gz inkscape-a4f0db6313fe187d96f9c25011de28903d8337d5.zip | |
Fix gradient toolbar comboboxes and reverse
https://gitlab.com/inkscape/inkscape/issues/224
Diffstat (limited to 'src/ui/widget/combo-tool-item.cpp')
| -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); |
