Fix creating a new file

pull/1456/head
Robert Fewell 4 years ago
parent e85f5f8d8d
commit ea419b3b2c

@ -1031,8 +1031,10 @@ gnc_main_window_restore_default_state (GncMainWindow *window)
if (!window)
window = static_cast<GncMainWindow*>(g_list_nth_data(active_windows, 0));
gtk_widget_show (GTK_WIDGET(window));
action = gnc_main_window_find_action (window, "ViewAccountTreeAction");
//FIXMEb gtk_action_activate(action);
action = gnc_main_window_find_action_in_group (window,
"gnc-plugin-account-tree-actions",
"ViewAccountTreeAction");
g_action_activate (action, nullptr);
}
/** Save the state of a single page to a disk. This function handles

Loading…
Cancel
Save