From d1916700ea264a75e56c11991827257c29d77c07 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 21 Oct 2019 20:31:32 +0200 Subject: [PATCH] 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. :^) --- DevTools/HackStudio/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 9142021493..c3b2e95b55 100644 --- a/DevTools/HackStudio/main.cpp +++ b/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();