1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09:00

Applications: Add new keyboard shortcuts & update few existing ones

This commit is contained in:
Jami Kettunen 2020-01-01 01:55:36 +02:00 committed by Andreas Kling
parent 7f15604f72
commit cece0d230d
Notes: sideshowbarker 2024-07-19 10:30:04 +09:00
7 changed files with 18 additions and 18 deletions

View file

@ -164,7 +164,7 @@ TextEditorWidget::TextEditorWidget()
open_sesame(open_path.value());
});
m_save_as_action = GAction::create("Save as...", { Mod_None, Key_F12 }, GraphicsBitmap::load_from_file("/res/icons/16x16/save.png"), [this](const GAction&) {
m_save_as_action = GAction::create("Save as...", { Mod_Ctrl | Mod_Shift, Key_S }, GraphicsBitmap::load_from_file("/res/icons/16x16/save.png"), [this](const GAction&) {
Optional<String> save_path = GFilePicker::get_save_filepath(m_name.is_null() ? "Untitled" : m_name, m_extension.is_null() ? "txt" : m_extension);
if (!save_path.has_value())
return;