diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-05-15 22:03:07 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-05-15 22:03:07 +0200 |
commit | 3bfa88f021fa22f48ad562c9d40593552f9165a8 (patch) | |
tree | 8cea94d21eb8fa9411e45b04010cff4a0c7f40f4 /plugins/gtkui | |
parent | 748da53ac00b40a722bdfdf9a89beaa01c689762 (diff) |
gtkui: fix column edit title issue (bug #1096)
Diffstat (limited to 'plugins/gtkui')
-rw-r--r-- | plugins/gtkui/plcommon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c index 8e99d3cf..2347540b 100644 --- a/plugins/gtkui/plcommon.c +++ b/plugins/gtkui/plcommon.c @@ -1038,8 +1038,6 @@ on_edit_column_activate (GtkMenuItem *menuitem, return; } - gtk_entry_set_text (GTK_ENTRY (lookup_widget (dlg, "title")), title); - editcolumn_title_changed = 0; int idx = 10; if (inf->id == -1) { if (inf->format) { @@ -1077,6 +1075,8 @@ on_edit_column_activate (GtkMenuItem *menuitem, gtk_entry_set_text (GTK_ENTRY (lookup_widget (dlg, "format")), inf->format); } gtk_combo_box_set_active (GTK_COMBO_BOX (lookup_widget (dlg, "align")), align_right); + gtk_entry_set_text (GTK_ENTRY (lookup_widget (dlg, "title")), title); + editcolumn_title_changed = 0; gint response = gtk_dialog_run (GTK_DIALOG (dlg)); if (response == GTK_RESPONSE_OK) { const gchar *title = gtk_entry_get_text (GTK_ENTRY (lookup_widget (dlg, "title"))); |