mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Register debugger commands globally.
This commit is contained in:
@@ -616,7 +616,8 @@ void App::runCommand( const std::string& command ) {
|
||||
editor->getDocument().execute( command, editor );
|
||||
} else if ( mSplitter->getCurWidget() &&
|
||||
mSplitter->getCurWidget()->isType( UI_TYPE_TERMINAL ) ) {
|
||||
mSplitter->getCurWidget()->asType<UITerminal>()->execute( command );
|
||||
if ( !mSplitter->getCurWidget()->asType<UITerminal>()->execute( command ) )
|
||||
mMainLayout->execute( command );
|
||||
} else {
|
||||
mMainLayout->execute( command );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user