mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-13 06:25:03 -05:00
Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17338 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -980,6 +980,10 @@ showbox_cb(GWEN_GUI *gwen_gui, guint32 flags, const gchar *title,
|
||||
dialog);
|
||||
gui->showbox_last = dialog;
|
||||
|
||||
/* Give it a change to be showed */
|
||||
if (!keep_alive(gui))
|
||||
showbox_id = 0;
|
||||
|
||||
LEAVE("id=%" G_GUINT32_FORMAT, showbox_id);
|
||||
return showbox_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user