From 09168852ed55f53139d66ce82cecdd51a7debbd1 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 a33f4c5..6e6997e 100644 --- a/ui/widgets/checkbox.h +++ b/ui/widgets/checkbox.h @@ -122,6 +122,9 @@ public: QImage prepareRippleMask() const override; bool checkRippleStartPosition(QPoint position) const override; void setLocked(bool locked); + bool isLocked() { + return _locked; + } private: void paintXV(Painter &p, int left, int top, int outerWidth, float64 toggled, const QBrush &brush);