mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Fix Bug #341375.
When handling the focus-out event for a GtkCellEditable, it's important not to keep the editable alive for too long, because the cursor-blink timeout expects that the editable still has the focus. The easiest way to do this is to stop the editing immediately by calling gtk_cell_editable_editing_done() and then handle all the real work from the "editing-done" signal handler. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14027 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1587,7 +1587,7 @@ gnc_main_window_tab_entry_focus_out_event (GtkWidget *entry,
|
||||
GncPluginPage *page)
|
||||
{
|
||||
ENTER("");
|
||||
gnc_main_window_tab_entry_activate(entry, page);
|
||||
gtk_cell_editable_editing_done(GTK_CELL_EDITABLE(entry));
|
||||
LEAVE("");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user