app: activate mode from scpi
Fix missing activation of gui mode components
This commit is contained in:
parent
0b7c3d5416
commit
f56e32488e
@ -586,6 +586,8 @@ void AppWindow::SetupSCPI()
|
||||
}
|
||||
if(mode) {
|
||||
mode->activate();
|
||||
int index = modeHandler->findIndex(mode);
|
||||
modeHandler->setCurrentIndex(index);
|
||||
return SCPI::getResultName(SCPI::Result::Empty);
|
||||
} else {
|
||||
return SCPI::getResultName(SCPI::Result::Error);
|
||||
|
Loading…
Reference in New Issue
Block a user