fix(gui): Restore 'Load Log' button and fix docking crash
fix(mcp): Improve path resolution and error messages
This commit is contained in:
8
gui_2.py
8
gui_2.py
@@ -718,8 +718,9 @@ class App:
|
||||
exp, self.show_windows["Discussion Hub"] = imgui.begin("Discussion Hub", self.show_windows["Discussion Hub"])
|
||||
if exp:
|
||||
# Top part for the history
|
||||
with imgui.begin_child("HistoryChild", size=(0, -200)):
|
||||
if imgui.begin_child("HistoryChild", size=(0, -200)):
|
||||
self._render_discussion_panel()
|
||||
imgui.end_child()
|
||||
|
||||
# Bottom part with tabs for message and response
|
||||
if imgui.begin_tab_bar("MessageResponseTabs"):
|
||||
@@ -1175,6 +1176,9 @@ class App:
|
||||
save_config(self.config)
|
||||
self.ai_status = "discussion saved"
|
||||
imgui.same_line()
|
||||
if imgui.button("Load Log"):
|
||||
self.cb_load_prior_log()
|
||||
imgui.same_line()
|
||||
if imgui.button("Load Log"):
|
||||
self.cb_load_prior_log()
|
||||
|
||||
@@ -1604,7 +1608,7 @@ class App:
|
||||
imgui.text("Project System Prompt")
|
||||
ch, self.ui_project_system_prompt = imgui.input_text_multiline("##psp", self.ui_project_system_prompt, imgui.ImVec2(-1, 100))
|
||||
|
||||
def _render_theme_panel(self):
|
||||
def _render_theme_panel(self):
|
||||
exp, self.show_windows["Theme"] = imgui.begin("Theme", self.show_windows["Theme"])
|
||||
if exp:
|
||||
imgui.text("Palette")
|
||||
|
||||
Reference in New Issue
Block a user