mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Applications: Add new keyboard shortcuts & update few existing ones
This commit is contained in:
parent
7f15604f72
commit
cece0d230d
7 changed files with 18 additions and 18 deletions
|
@ -128,7 +128,7 @@ int main(int argc, char** argv)
|
|||
directory_view->open_parent_directory();
|
||||
});
|
||||
|
||||
auto mkdir_action = GAction::create("New directory...", GraphicsBitmap::load_from_file("/res/icons/16x16/mkdir.png"), [&](const GAction&) {
|
||||
auto mkdir_action = GAction::create("New directory...", { Mod_Ctrl | Mod_Shift, Key_N }, GraphicsBitmap::load_from_file("/res/icons/16x16/mkdir.png"), [&](const GAction&) {
|
||||
auto input_box = GInputBox::construct("Enter name:", "New directory", window);
|
||||
if (input_box->exec() == GInputBox::ExecOK && !input_box->text_value().is_empty()) {
|
||||
auto new_dir_path = canonicalized_path(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue