#3804 Measurement. Set checkable toolbutton (still changing icon)

This commit is contained in:
Bjørn Erik Jensen 2018-12-19 14:49:35 +01:00
parent 849a623379
commit deec4c16e9

View File

@ -600,7 +600,9 @@ void RiuMainWindow::createToolBars()
{
QToolBar* measToolBar = addToolBar(tr("Measurement"));
measToolBar->addAction(cmdFeatureMgr->action("RicToggleMeasurementModeFeature"));
auto action = cmdFeatureMgr->action("RicToggleMeasurementModeFeature");
action->setCheckable(true);
measToolBar->addAction(action);
}
RiaApplication* app = RiaApplication::instance();