summaryrefslogtreecommitdiff
path: root/windowChats.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowChats.go')
-rw-r--r--windowChats.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/windowChats.go b/windowChats.go
index 67153a3..dfd785d 100644
--- a/windowChats.go
+++ b/windowChats.go
@@ -37,6 +37,7 @@ func makeChatsWindow() *gadgets.GenericWindow {
insertWin := gadgets.NewGenericWindow("regex Chats", "Display Chats")
insertWin.Win.Custom = func() {
log.Info("test delete window here")
+ insertWin.Hide()
}
grid := insertWin.Group.RawGrid()
@@ -142,6 +143,7 @@ func makeBooksTable(chat *chatpb.Chat) *chatpb.Books {
var pb *chatpb.Books
pb = chatpb.NewBooks()
+ pb.TitleUuid = chat.Uuid
for _, entry := range chat.GetEntries() {
if entry.GeminiRequest == nil {
@@ -155,5 +157,6 @@ func makeBooksTable(chat *chatpb.Chat) *chatpb.Books {
newb.GeminiRequest = entry.GeminiRequest
pb.Append(newb)
}
+ pb.ConfigSave()
return pb
}