Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Fixed welcome view from browser redirect bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart committed Jan 23, 2019
1 parent 7ca799c commit caff82e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public class App:Granite.Application {
go_to_last_saved_size (window);

window.show_all ();
stack_manager.get_stack ().visible_child_name = "welcome-view";
}

private void go_to_last_saved_position (MainWindow main_window) {
Expand Down
3 changes: 1 addition & 2 deletions src/StackManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ public class StackManager : Object {
public void load_views (Gtk.Window window) {
detail_view = new DetailView ();
main_window = window;

stack.add_named (new WelcomeView (), WELCOME_VIEW_ID);
stack.add_named (new ListView (), LIST_VIEW_ID);
stack.add_named (new NotFoundView (), NOT_FOUND_VIEW_ID);
stack.add_named (new WelcomeView (), WELCOME_VIEW_ID);
stack.add_named (new ProgressView (), PROGRESS_VIEW_ID);
stack.add_named (detail_view, DETAIL_VIEW_ID);

Expand Down

0 comments on commit caff82e

Please sign in to comment.