mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
IC: Propagate update, update at gemometry change and minor change.
This commit is contained in:
1 parent
d2f275c49f
commit
9cc3bb23c0
5 files changed
+58
-28
No files matched your search
@@ -351,7 +351,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
logger.debug(f"Propagation keys: {self._propagation_keys}")
|
||||
|
||||
def _do_propagate_update(self):
|
||||
for key in self._propagation_keys:
|
||||
keys = self._propagation_keys.copy()
|
||||
self._init_propagation_keys()
|
||||
|
||||
for key in keys:
|
||||
if key == "window_list":
|
||||
logger.debug(f"Update window list")
|
||||
self._do_update_window_list()
|
||||
@@ -361,8 +364,6 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
for _, window in self.sub_win_list:
|
||||
window._propagated_update(key=key)
|
||||
|
||||
self._init_propagation_keys()
|
||||
|
||||
#########
|
||||
# MODEL #
|
||||
#########
|
||||
|
||||
Reference in new issue
Block a user