mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
disable merge menu item when a merge is already in progress
This commit is contained in:
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…
x
Reference in New Issue
Block a user