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/tabs/debugwindowtabs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs') diff --git a/src/gui/widgets/tabs/debugwindowtabs.h b/src/gui/widgets/tabs/debugwindowtabs.h index 43292bcd5..044a2884c 100644 --- a/src/gui/widgets/tabs/debugwindowtabs.h +++ b/src/gui/widgets/tabs/debugwindowtabs.h @@ -44,7 +44,7 @@ class DebugTab notfinal : public Container protected: explicit DebugTab(const Widget2 *const widget) : Container(widget) - { } + { setSelectable(false); } }; class MapDebugTab final : public DebugTab -- cgit v1.2.3-60-g2f50