From 3048a510babcec82224b339becb481f0297bf7b9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 22 Feb 2025 20:45:53 +0200 Subject: =?UTF-8?q?fixes=20#4874=20(Telegram:=20=D0=BD=D0=B5=D0=BA=D0=BE?= =?UTF-8?q?=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=BD=D0=BE=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20=D1=81=D0=BF=D0=B8=D0=BD=D0=BD?= =?UTF-8?q?=D0=B5=D1=80=20=D0=B2=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B9=D0=BA=D0=B0=D1=85=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Telegram/src/options.cpp') diff --git a/protocols/Telegram/src/options.cpp b/protocols/Telegram/src/options.cpp index 208f17dc50..c326e2925b 100644 --- a/protocols/Telegram/src/options.cpp +++ b/protocols/Telegram/src/options.cpp @@ -170,7 +170,7 @@ public: void onChange_Value1(int val) { - bool bEnabled = val != 0; + bool bEnabled = val > 0; spin2.Enable(bEnabled); edtDiff2.Enable(bEnabled); cmbStatus1.Enable(bEnabled); -- cgit v1.2.3