mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
#3924 Measurements : Set object name for toolbar
This commit is contained in:
1 parent
855e22abb4
commit
7f24edaebf
1 file changed
+3
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user