From 775d6f983a18457b82747ac6c53123f84629ede5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 20 Sep 2016 17:53:22 +0300 Subject: Add support for unselectable widgets. If move mouse over or try to select, this widget will be ignored. Set labels unselectable by default. Set unselectable tabs in debug window. --- src/gui/widgets/label.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/label.cpp') diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp index af6fa973d..6df442229 100644 --- a/src/gui/widgets/label.cpp +++ b/src/gui/widgets/label.cpp @@ -139,6 +139,7 @@ void Label::init() mPadding = mSkin->getPadding(); else mPadding = 0; + setSelectable(false); } void Label::draw(Graphics *const graphics) -- cgit v1.2.3-70-g09d2