From 6b7d1441e302014c601c614c27ef851c3b76edc4 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Thu, 15 Sep 2022 23:32:13 +0300 Subject: [PATCH] [Option][GUI] Unquoted forward and forward options --- ui/widgets/checkbox.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/widgets/checkbox.h b/ui/widgets/checkbox.h index 593dc05..f1b8c4b 100644 --- a/ui/widgets/checkbox.h +++ b/ui/widgets/checkbox.h @@ -127,6 +127,9 @@ public: QImage prepareRippleMask() const override; bool checkRippleStartPosition(QPoint position) const override; void setLocked(bool locked); + bool isLocked() { + return _locked; + } private: void paintXV(QPainter &p, int left, int top, int outerWidth, float64 toggled, const QBrush &brush);