mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-28 14:53:58 +00:00
disable merge menu item when a merge is already in progress
(cherry picked from commit 708cacdec403793a0337c6e536a1ecf53a58bd6e)
This commit is contained in:
parent
a5a0990d3c
commit
c2ed475950
@ -423,7 +423,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