Skip to content

Commit

Permalink
Empty string used instead of null when triggering open folder action …
Browse files Browse the repository at this point in the history
…in welcome view (#1407)

Co-authored-by: Danielle Foré <[email protected]>
  • Loading branch information
colinkiama and danirabbit authored Jan 16, 2024
1 parent fbe6364 commit 1279b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/WelcomeView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Code.WelcomeView : Granite.Widgets.Welcome {
} else if (i == 1) {
Scratch.Utils.action_from_group (Scratch.MainWindow.ACTION_OPEN, window.actions).activate (null);
} else if (i == 2) {
Scratch.Utils.action_from_group (Scratch.MainWindow.ACTION_OPEN_FOLDER, window.actions).activate (null);
Scratch.Utils.action_from_group (Scratch.MainWindow.ACTION_OPEN_FOLDER, window.actions).activate ("");
}
});
}
Expand Down

0 comments on commit 1279b11

Please sign in to comment.