Browse Source

HackStudio: Restrict the "Go to line" shortcut to the text editor

We don't want Ctrl+L presses to be snatched while we're in the embedded
terminal, for example. :^)
Andreas Kling 5 năm trước cách đây
mục cha
commit
d1916700ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      DevTools/HackStudio/main.cpp

+ 1 - 1
DevTools/HackStudio/main.cpp

@@ -78,7 +78,7 @@ int main(int argc, char** argv)
                 text_editor->set_cursor(line_number, 0);
             }
         }
-    }));
+    }, text_editor));
 
     window->show();
     return app.exec();