Update image prompt placeholder handling

This commit is contained in:
Victor Giers
2025-11-30 17:49:42 +01:00
parent fcebf043cc
commit 2a0b4da479

View File

@@ -1829,7 +1829,7 @@ class App(TkinterDnD.Tk): # type: ignore
def _reset_image_prompt_area(self):
self._set_image_prompt_loading(False)
self._set_image_prompt_text("Generated image prompt will appear here.")
self._set_image_prompt_text(IMAGE_PROMPT_PLACEHOLDER)
def on_generate_image_prompt(self):
model = (self.ollama_model.get() or "").strip()
@@ -1865,6 +1865,7 @@ class App(TkinterDnD.Tk): # type: ignore
self.image_prompt_text.see("1.0")
except Exception:
pass
self._set_dirty(True)
# --- Rebuild KB only
def on_rebuild_kb(self):