#955 Add zoom all to list of command ids

This commit is contained in:
Magne Sjaastad committed 2018-05-14 20:31:27 +02:00
1 parent 94ab7b7923
commit b6d3446fe8
1 file changed
+7 -1
@@ -806,7 +806,13 @@ void RiuMainWindow::slotRefreshViewActions()
updateScaleValue();
caf::CmdFeatureManager::instance()->refreshEnabledState(QStringList() << "RicLinkVisibleViewsFeature" << "RicTileWindowsFeature" << "RicTogglePerspectiveViewFeature");
QStringList commandIds;
commandIds << "RicLinkVisibleViewsFeature"
<< "RicTileWindowsFeature"
<< "RicTogglePerspectiveViewFeature"
<< "RicViewZoomAllFeature";
caf::CmdFeatureManager::instance()->refreshEnabledState(commandIds);
}
//--------------------------------------------------------------------------------------------------