forked from qt-creator/qt-creator
Terminal: Register the command to open/close the Terminal pane
This way Alt+5 (Ctrl+5) would open / close the Terminal pane. Change-Id: I91003987c1b8109abc302a79a895fab1557fefea Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -295,6 +295,8 @@ void TerminalPane::setFocus()
|
||||
{
|
||||
if (const auto t = currentTerminal())
|
||||
t->setFocus();
|
||||
|
||||
TerminalCommands::instance().registerOpenCloseTerminalPaneCommand();
|
||||
}
|
||||
|
||||
bool TerminalPane::hasFocus() const
|
||||
|
||||
Reference in New Issue
Block a user