From 28686235cc73cd5de1a646232dfc7867791171c0 Mon Sep 17 00:00:00 2001 From: Giloo <33936193+GillesDuvert@users.noreply.github.com> Date: Sat, 17 Aug 2024 12:51:19 +0200 Subject: [PATCH] Update widget.cpp avoid timer being 0!!! --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget.cpp b/src/widget.cpp index 1321e91fd..420f474d0 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -2632,7 +2632,7 @@ void widget_control( EnvT* e ) { // bool delay_destroy = e->KeywordSet( delay_destroyIx ); //TBD, this seems tricky. static int timerIx = e->KeywordIx( "TIMER" ); - bool doTimer = e->KeywordPresent( timerIx ); + bool doTimer = e->KeywordSet( timerIx ); DString eventPro = ""; static int eventproIx = e->KeywordIx( "EVENT_PRO" );