Skip to content

Commit

Permalink
Merge branch 'master' into update-metainfo-for-7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Nov 29, 2023
2 parents 96fef52 + 4f37448 commit d619209
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ namespace Scratch {
// Create a new document if requested
if (create_new_tab) {
create_new_tab = false;
activate_action (MainWindow.ACTION_PREFIX + MainWindow.ACTION_NEW_TAB, null);
var active_window_action_group = active_window.get_action_group (MainWindow.ACTION_GROUP);
active_window_action_group.activate_action (MainWindow.ACTION_NEW_TAB, null);
}
}

Expand Down

0 comments on commit d619209

Please sign in to comment.