From 6ba208852e881ece398157f4d546bc34ca55b562 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 30 Nov 2025 17:49:52 +0100 Subject: [PATCH] Include image prompt in session data if not placeholder --- concept-maker_gui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/concept-maker_gui.py b/concept-maker_gui.py index 9ea5b07..b488d26 100644 --- a/concept-maker_gui.py +++ b/concept-maker_gui.py @@ -2917,6 +2917,9 @@ class App(TkinterDnD.Tk): # type: ignore "file_hash": h, "include": bool(self.include_map.get(u, True)), }) + img_prompt = self._get_image_prompt_text() + if img_prompt.strip() == IMAGE_PROMPT_PLACEHOLDER: + img_prompt = "" return { "title": (self.title_var.get() or "").strip(), "description": (self.desc_var.get() or "").strip(), @@ -2931,6 +2934,7 @@ class App(TkinterDnD.Tk): # type: ignore "text": str(v.get("text") or ""), } for v in (self.rephrase_variants or []) if isinstance(v, dict)], "rephrase_selected_key": self.rephrase_selected_key, + "image_prompt": img_prompt, } def _save_session(self, *, confirm_overwrite: bool, autosave: bool) -> bool: