diff options
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index ea2b7980c..3550883ba 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -173,9 +173,14 @@ void OutfitWindow::save() serverConfig.deleteKey("Outfit" + toString(o)); if (mItemsUnequip[o]) + { serverConfig.deleteKey("OutfitUnequip" + toString(o)); + } else - serverConfig.setValue("OutfitUnequip" + toString(o), mItemsUnequip[o]); + { + serverConfig.setValue("OutfitUnequip" + toString(o), + mItemsUnequip[o]); + } outfitStr = ""; } serverConfig.setValue("OutfitAwayIndex", mAwayOutfit); |