Skip to content

Commit

Permalink
plugins/datalogger: Make default instrument detachable.
Browse files Browse the repository at this point in the history
Signed-off-by: andreidanila1 <andrei.danila@analog.com>
  • Loading branch information
andreidanila1 committed Dec 16, 2024
1 parent 72ef3a8 commit 08c16a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/datalogger/src/dataloggerplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,10 @@ void DataLoggerPlugin::addNewTool()
}
});

toolMenuEntry->setDetachable(false);

Q_EMIT toolListChanged();
m_toolList.last()->setTool(datamonitorTool);
if(m_toolList.length() > 1) {
toolMenuEntry->setDetachable(false);
requestTool(tool_name);
}

Expand Down

0 comments on commit 08c16a9

Please sign in to comment.