Sat, 26 Oct 2024 11:46:18 +0200
Modified some modal dialog use to ensure they have a valid parent.
--- a/OllamaInterface/OllamaHistoryWidget.py Thu Oct 24 14:56:16 2024 +0200 +++ b/OllamaInterface/OllamaHistoryWidget.py Sat Oct 26 11:46:18 2024 +0200 @@ -146,6 +146,7 @@ title=self.__title, model=self.__model, selectableModels=self.__ollamaWidget.getSelectableModels(), + parent=self, ) if dlg.exec() == QDialog.DialogCode.Accepted: self.__title, self.__model = dlg.getData()
--- 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(
--- a/PluginAiOllama.py Thu Oct 24 14:56:16 2024 +0200 +++ b/PluginAiOllama.py Sat Oct 26 11:46:18 2024 +0200 @@ -33,7 +33,7 @@ "author": "Detlev Offenbach <detlev@die-offenbachs.de>", "autoactivate": True, "deactivateable": True, - "version": "10.1.5", + "version": "10.1.6", "className": "PluginOllamaInterface", "packageName": "OllamaInterface", "shortDescription": "Graphical 'ollama' client for eric-ide.",