From 12ea357515b32e75826c2385373248bc7b1adabd Mon Sep 17 00:00:00 2001 From: sbh Date: Thu, 12 Mar 2015 20:13:51 +0300 Subject: [PATCH] Do no highlight the boolean widget --- src/ModuleBase/ModuleBase_WidgetBoolValue.cpp | 5 +++++ src/ModuleBase/ModuleBase_WidgetBoolValue.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp b/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp index 7d5e2855b..a019404f5 100644 --- a/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp +++ b/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp @@ -72,3 +72,8 @@ QList ModuleBase_WidgetBoolValue::getControls() const aList.append(myCheckBox); return aList; } + +void ModuleBase_WidgetBoolValue::setHighlighted(bool) +{ + return; +} diff --git a/src/ModuleBase/ModuleBase_WidgetBoolValue.h b/src/ModuleBase/ModuleBase_WidgetBoolValue.h index f5c3f494f..1c13e0458 100644 --- a/src/ModuleBase/ModuleBase_WidgetBoolValue.h +++ b/src/ModuleBase/ModuleBase_WidgetBoolValue.h @@ -35,6 +35,8 @@ Q_OBJECT virtual QList getControls() const; + virtual void setHighlighted(bool isHighlighted); + protected: /// Saves the internal parameters to the given feature /// \return True in success -- 2.39.2