disable merge menu item when a merge is already in progress

sceneinput
Marc Zinnschlag 10 years ago
parent 4fd3097c1c
commit 708cacdec4

@ -398,7 +398,8 @@ void CSVDoc::View::updateActions()
mGlobalDebugProfileMenu->updateActions (running);
mStopDebug->setEnabled (running);
mMerge->setEnabled (mDocument->getContentFiles().size()>1);
mMerge->setEnabled (mDocument->getContentFiles().size()>1 &&
!(mDocument->getState() & CSMDoc::State_Merging));
}
CSVDoc::View::View (ViewManager& viewManager, CSMDoc::Document *document, int totalViews)

Loading…
Cancel
Save