summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-07-13 21:23:16 -0600
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-14 21:49:56 +0100
commit135ed667ef82eaf348ce043a9864a6e7864ebad3 (patch)
tree6d7b8d5fd0cea7f35d5b90db4f0edc34c1711366 /src/gui
parentae0291e652570f8ffbaf609ac536d0d3a0cc177e (diff)
downloadmana-135ed667ef82eaf348ce043a9864a6e7864ebad3.tar.gz
mana-135ed667ef82eaf348ce043a9864a6e7864ebad3.tar.bz2
mana-135ed667ef82eaf348ce043a9864a6e7864ebad3.tar.xz
mana-135ed667ef82eaf348ce043a9864a6e7864ebad3.zip
Don't allow tabs to be focusable. Our tab implementations are heavily
dependent on a tabbed area, and because of that, shouldn't get double focus. Signed-off-by: Tametomo <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp
index f79641e5..d83d1228 100644
--- a/src/gui/widgets/tab.cpp
+++ b/src/gui/widgets/tab.cpp
@@ -84,6 +84,7 @@ Tab::~Tab()
void Tab::init()
{
+ setFocusable(false);
setFrameSize(0);
mHighlighted = false;