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

HackStudio: Fix the labels of project opening menu and dialog

This commit is contained in:
Tibor Nagy 2020-03-30 12:23:12 +02:00 committed by Andreas Kling
parent 5c37570dfc
commit f15e9ee0fc
Notes: sideshowbarker 2024-07-19 08:03:26 +09:00

View file

@ -396,8 +396,8 @@ int main(int argc, char** argv)
update_actions();
});
auto open_action = GUI::Action::create("Open Project", { Mod_Ctrl | Mod_Shift, Key_O }, Gfx::Bitmap::load_from_file("/res/icons/16x16/open.png"), [&](auto&) {
auto open_path = GUI::FilePicker::get_open_filepath();
auto open_action = GUI::Action::create("Open project...", { Mod_Ctrl | Mod_Shift, Key_O }, Gfx::Bitmap::load_from_file("/res/icons/16x16/open.png"), [&](auto&) {
auto open_path = GUI::FilePicker::get_open_filepath("Open project");
if (!open_path.has_value())
return;
open_project(open_path.value());