summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp5
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);
- }
}