mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/gnome/top-level.c: check for no children when creating default
window git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3977 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2001-04-15 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/gnome/top-level.c: check for no children when creating default
|
||||
window
|
||||
|
||||
* src/gnome/window-main.c: Kevin Finn's patch to shutdown gnucash
|
||||
when the main window is deleted. Handle remove_child events to
|
||||
prevent accessing deleted windows.
|
||||
|
||||
@@ -337,7 +337,8 @@ void
|
||||
gnc_default_ui_start(void) {
|
||||
if(!hasstarted) {
|
||||
if(!gnome_mdi_restore_state(app->mdi, "/GnuCash/MDI Session",
|
||||
gnc_main_window_create_child)) {
|
||||
gnc_main_window_create_child) ||
|
||||
app->children == NULL) {
|
||||
gnc_main_window_open_accounts(FALSE);
|
||||
}
|
||||
hasstarted = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user