diff options
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index e593bc1b..6837aa38 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -295,10 +295,7 @@ void InventoryWindow::updateButtons() mDropButton->setCaption(_("Drop")); if (Net::getInventoryHandler()->canSplit(selectedItem)) - { mSplitButton->setEnabled(true); - } - else { + else mSplitButton->setEnabled(false); - } } |