forked from mirror/openmw-tes3mp
fixed deleted button sensitivity state
This commit is contained in:
parent
0860c27b03
commit
cf1fb76bb4
1 changed files with 14 additions and 15 deletions
|
@ -17,12 +17,11 @@ void CSVWorld::RecordButtonBar::updateModificationButtons()
|
|||
|
||||
mCloneButton->setDisabled (createAndDeleteDisabled);
|
||||
mAddButton->setDisabled (createAndDeleteDisabled);
|
||||
mDeleteButton->setDisabled (createAndDeleteDisabled);
|
||||
|
||||
bool commandDisabled = !mCommandDispatcher || mLocked;
|
||||
|
||||
mRevertButton->setDisabled (commandDisabled);
|
||||
mDeleteButton->setDisabled (commandDisabled);
|
||||
mDeleteButton->setDisabled (commandDisabled || createAndDeleteDisabled);
|
||||
}
|
||||
|
||||
void CSVWorld::RecordButtonBar::updatePrevNextButtons()
|
||||
|
|
Loading…
Reference in a new issue