Terminal: Do not unlock the locator

Ctrl+K is a useful shortcut for some users, so we have to block the locator if the keyboard is locked.

Fixes: QTCREATORBUG-30032
Change-Id: I211e0bc449d3981513cc77bd14baf70a9acc3ae1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-12-14 13:49:15 +01:00
parent 3795a94144
commit a3b9393bc5

View File

@@ -317,7 +317,6 @@ void TerminalWidget::setupActions()
unlockGlobalAction(Core::Constants::OPTIONS);
unlockGlobalAction("Preferences.Terminal.General");
unlockGlobalAction(Core::Constants::FIND_IN_DOCUMENT);
unlockGlobalAction(Core::Constants::LOCATE);
}
void TerminalWidget::closeTerminal()