mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 23:43:42 +00:00
app: activate mode from scpi
Fix missing activation of gui mode components
This commit is contained in:
parent
0b7c3d5416
commit
f56e32488e
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue