Skip to content

Commit

Permalink
Fixes #1380
Browse files Browse the repository at this point in the history
  • Loading branch information
colinkiama committed Nov 21, 2023
1 parent 51dd521 commit e8931d8
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 @@ -137,7 +137,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 e8931d8

Please sign in to comment.