diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-07-21 05:25:08 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-07-21 05:25:08 +0000 |
| commit | 04cdabe5ebf6171c16eef610b98797c1c6b50e21 (patch) | |
| tree | 310993d99f57e8eda411b9aeab9acb7f27638df2 /src/ege-select-one-action.cpp | |
| parent | make visibility icon in LPE stack dialog clickable (diff) | |
| download | inkscape-04cdabe5ebf6171c16eef610b98797c1c6b50e21.tar.gz inkscape-04cdabe5ebf6171c16eef610b98797c1c6b50e21.zip | |
prevent warning when model is cleared before being refilled
(bzr r6380)
Diffstat (limited to 'src/ege-select-one-action.cpp')
| -rw-r--r-- | src/ege-select-one-action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ege-select-one-action.cpp b/src/ege-select-one-action.cpp index 20967c9e7..5c552a6e7 100644 --- a/src/ege-select-one-action.cpp +++ b/src/ege-select-one-action.cpp @@ -732,7 +732,7 @@ void combo_changed_cb( GtkComboBox* widget, gpointer user_data ) { EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION(user_data); gint newActive = gtk_combo_box_get_active(widget); - if (newActive != act->private_data->active) { + if (newActive != act->private_data->active && newActive != -1) { g_object_set( G_OBJECT(act), "active", newActive, NULL ); } } |
