Skip to content

Commit

Permalink
datamonitor: tool open with menus open
Browse files Browse the repository at this point in the history
Signed-off-by: Ionut Muthi <[email protected]>
  • Loading branch information
IonutMuthi committed Apr 25, 2024
1 parent a70ffa8 commit cec1f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion plugins/datamonitorPlugin/src/datamonitorplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ void DataMonitorPlugin::addNewTool()

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

i++;
}
Expand Down
3 changes: 0 additions & 3 deletions plugins/datamonitorPlugin/src/datamonitortool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ DatamonitorTool::DatamonitorTool(DataAcquisitionManager *dataAcquisitionManager,
tool->bottomContainer()->setVisible(true);
tool->topContainerMenuControl()->setVisible(false);

tool->openLeftContainerHelper(false);
tool->openRightContainerHelper(false);

lay->addWidget(tool);

settingsButton = new GearBtn(this);
Expand Down

0 comments on commit cec1f3e

Please sign in to comment.