summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-21 00:53:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-21 00:53:11 +0300
commitb10b9bbf68702e7c2b728d4036391399ae397eaa (patch)
treee9ead826ac5244f6abec780214bc8d9844c23adc /src/gui/windows/shopwindow.cpp
parent219ca3560cf16a3c303b9d88756448a9a2fb19a5 (diff)
downloadmv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.gz
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.bz2
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.tar.xz
mv-b10b9bbf68702e7c2b728d4036391399ae397eaa.zip
Set parts of most windows unselectable.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 6ec422505..684f51a19 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -163,6 +163,8 @@ ShopWindow::ShopWindow() :
mTabs->addButton(_("Buy"), "buy", true);
// TRANSLATORS: shop window tab name
mTabs->addButton(_("Sell"), "sell", false);
+ mTabs->setSelectable(false);
+ mScrollArea->setSelectable(false);
loadList();