Update image prompt placeholder handling
This commit is contained in:
@@ -1829,7 +1829,7 @@ class App(TkinterDnD.Tk): # type: ignore
|
|||||||
|
|
||||||
def _reset_image_prompt_area(self):
|
def _reset_image_prompt_area(self):
|
||||||
self._set_image_prompt_loading(False)
|
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):
|
def on_generate_image_prompt(self):
|
||||||
model = (self.ollama_model.get() or "").strip()
|
model = (self.ollama_model.get() or "").strip()
|
||||||
@@ -1865,6 +1865,7 @@ class App(TkinterDnD.Tk): # type: ignore
|
|||||||
self.image_prompt_text.see("1.0")
|
self.image_prompt_text.see("1.0")
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
self._set_dirty(True)
|
||||||
|
|
||||||
# --- Rebuild KB only
|
# --- Rebuild KB only
|
||||||
def on_rebuild_kb(self):
|
def on_rebuild_kb(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user