Skip to content

Commit 93039ab

Browse files
committed
Fixing issue with saving current document from anywhere
1 parent b1b8628 commit 93039ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MainWindow.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ public class MainWindow : Gtk.ApplicationWindow {
358358
return( false );
359359
});
360360

361-
// Set shortcut to quit
361+
// Set shortcuts that don't have a UI element
362+
set_action_for_command( KeyCommand.FILE_SAVE );
362363
set_action_for_command( KeyCommand.QUIT );
363364

364365
// Set the window size based on gsettings

0 commit comments

Comments
 (0)