28 lines
803 B
Diff
28 lines
803 B
Diff
|
From f49d4b9766930fcd78975cf4f2276a9c40113c47 Mon Sep 17 00:00:00 2001
|
||
|
From: CandiceJoy <candice@candicejoy.com>
|
||
|
Date: Thu, 12 Jan 2023 03:39:56 -0600
|
||
|
Subject: [PATCH 15/51] Fixed a bug where static events would fail to halt
|
||
|
propagation.
|
||
|
|
||
|
Signed-off-by: CandiceJoy <candice@candicejoy.com>
|
||
|
---
|
||
|
src/events.cpp | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/events.cpp b/src/events.cpp
|
||
|
index 315b2d8b8..28caa1c38 100755
|
||
|
--- a/src/events.cpp
|
||
|
+++ b/src/events.cpp
|
||
|
@@ -511,7 +511,7 @@ bool EventManager::Responder(const event_t* ev)
|
||
|
return true; // event was processed
|
||
|
}
|
||
|
}
|
||
|
- if (ShouldCallStatic(false)) uiProcessorsFound = staticEventManager.Responder(ev);
|
||
|
+ if (ShouldCallStatic(false) && staticEventManager.Responder(ev)) return true;
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
--
|
||
|
2.39.3
|
||
|
|