Skip to content

Commit

Permalink
Better restore state only after all widgets are there
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Feb 8, 2023
1 parent e1d0915 commit ed860fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/liferea_shell.c
Expand Up @@ -1387,7 +1387,6 @@ liferea_shell_create (GtkApplication *app, const gchar *overrideWindowState, gin
liferea_shell_update_toolbar ();
liferea_shell_update_history_actions ();
liferea_shell_setup_URL_receiver ();
liferea_shell_restore_state (overrideWindowState);

gtk_widget_set_sensitive (GTK_WIDGET (shell->feedlistViewWidget), TRUE);

Expand All @@ -1407,6 +1406,7 @@ liferea_shell_create (GtkApplication *app, const gchar *overrideWindowState, gin
G_CALLBACK (liferea_shell_update_node_actions), NULL);

/* 11.) Restore latest layout and selection */
liferea_shell_restore_state (overrideWindowState);
conf_get_int_value (DEFAULT_VIEW_MODE, &mode);
itemview_set_layout (mode);

Expand Down

0 comments on commit ed860fa

Please sign in to comment.