mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3924 Measurements : Set object name for toolbar
This commit is contained in:
parent
855e22abb4
commit
7f24edaebf
@ -599,10 +599,11 @@ void RiuMainWindow::createToolBars()
|
||||
}
|
||||
|
||||
{
|
||||
QToolBar* measToolBar = addToolBar(tr("Measurement"));
|
||||
QToolBar* toolbar = addToolBar(tr("Measurement"));
|
||||
toolbar->setObjectName(toolbar->windowTitle());
|
||||
auto action = cmdFeatureMgr->action("RicToggleMeasurementModeFeature");
|
||||
action->setCheckable(true);
|
||||
measToolBar->addAction(action);
|
||||
toolbar->addAction(action);
|
||||
}
|
||||
|
||||
RiaApplication* app = RiaApplication::instance();
|
||||
|
Loading…
Reference in New Issue
Block a user