fking python

This commit is contained in:
ed
2026-06-06 01:05:00 -04:00
parent 6c541bc788
commit c4691a54b0
+8 -8
View File
@@ -598,15 +598,15 @@ class App:
finally: finally:
self._is_applying_snapshot = False self._is_applying_snapshot = False
def _capture_workspace_profile(self, name: str) -> models.WorkspaceProfile: def _capture_workspace_profile(self, name: str) -> models.WorkspaceProfile:
if not getattr(self, "_ini_capture_ready", False): if not getattr(self, "_ini_capture_ready", False):
self._ini_capture_ready = True self._ini_capture_ready = True
ini = ""
else:
try:
ini = str(imgui.save_ini_settings_to_memory() or "")
except Exception:
ini = "" ini = ""
else:
try:
ini = str(imgui.save_ini_settings_to_memory() or "")
except Exception:
ini = ""
panel_states = { panel_states = {
"ui_separate_context_preview": getattr(self, "ui_separate_context_preview", False), "ui_separate_context_preview": getattr(self, "ui_separate_context_preview", False),
"ui_separate_message_panel": getattr(self, "ui_separate_message_panel", False), "ui_separate_message_panel": getattr(self, "ui_separate_message_panel", False),