OllamaInterface/OllamaWidget.py

changeset 62
f5565a5417e2
parent 59
40a29731e0d0
child 65
0cf07db68753
--- a/OllamaInterface/OllamaWidget.py	Thu Oct 24 14:56:16 2024 +0200
+++ b/OllamaInterface/OllamaWidget.py	Sat Oct 26 11:46:18 2024 +0200
@@ -863,6 +863,7 @@
             message=self.tr("Select the chats to be exported:"),
             checkBoxSelection=True,
             showSelectAll=True,
+            parent=self,
         )
         if dlg.exec() == QDialog.DialogCode.Accepted:
             selectedChats = dlg.getSelection()
@@ -1000,7 +1001,7 @@
 
         models = self.__client.listDetails()
         if models:
-            dlg = OllamaDetailedModelsDialog(models, self)
+            dlg = OllamaDetailedModelsDialog(models, parent=self)
             dlg.exec()
         else:
             EricMessageBox.information(
@@ -1018,7 +1019,7 @@
 
         models = self.__client.listRunning()
         if models:
-            dlg = OllamaRunningModelsDialog(models, self)
+            dlg = OllamaRunningModelsDialog(models, parent=self)
             dlg.exec()
         else:
             EricMessageBox.information(

eric ide

mercurial