#955 Add zoom all to list of command ids

This commit is contained in:
Magne Sjaastad 2018-05-14 13:18:56 +02:00
parent 94ab7b7923
commit b6d3446fe8

View File

@ -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);
}
//--------------------------------------------------------------------------------------------------