Kodi Community Forum
Why "xbmcgui.DialogProgress().iscanceled()" always returns True? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Why "xbmcgui.DialogProgress().iscanceled()" always returns True? (/showthread.php?tid=373883)



Why "xbmcgui.DialogProgress().iscanceled()" always returns True? - burekas - 2023-07-24

Hi,

Even when the dialog is updating in a for loop with the "update" function,
On each loop I'm checking the "isCanceled" and it returns True on the first loop, even when the Cancel button wasn't pressed.