We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5907b9 commit 22c9ea9Copy full SHA for 22c9ea9
kiauto/interposer.py
@@ -750,7 +750,7 @@ def wait_start_by_msg(cfg):
750
cfg.logger.debug(f"Detected window changing modal status: `{modal}`")
751
if modal[-1] == '1':
752
modals.append(modal[:-2])
753
- elif modal[-1] == '0':
+ elif modal[-1] == '0' and modal[:-2] in modals:
754
modals.remove(modal[:-2])
755
if len(modals):
756
name = modals[-1]
0 commit comments