ソースを参照

HackStudio: Focus the text editor after opening a file

Andreas Kling 5 年 前
コミット
dd74cb9c8f
1 ファイル変更2 行追加0 行削除
  1. 2 0
      DevTools/HackStudio/main.cpp

+ 2 - 0
DevTools/HackStudio/main.cpp

@@ -315,4 +315,6 @@ void open_file(const String& filename)
     g_currently_open_file = filename;
     g_window->set_title(String::format("%s - HackStudio", g_currently_open_file.characters()));
     g_project_list_view->update();
+
+    g_text_editor->set_focus(true);
 }