SaveTool: fix a condition.
This commit is contained in:
parent
e61d4bba85
commit
6f2b19dbc3
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ void SaveTool::drawCustomArmourStyles() {
|
|||
break;
|
||||
case DCS_Save:
|
||||
_modifiedBySaveTool = true;
|
||||
if(_currentMass->writeArmourCustomStyle(i)) {
|
||||
if(!_currentMass->writeArmourCustomStyle(i)) {
|
||||
_modifiedBySaveTool = false;
|
||||
_queue.addToast(Toast::Type::Error, _currentMass->lastError());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue