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);