Sat, 26 Oct 2024 11:46:18 +0200
Modified some modal dialog use to ensure they have a valid parent.
diff -r 9850ac542faf -r f5565a5417e2 OllamaInterface/OllamaHistoryWidget.py --- 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()
diff -r 9850ac542faf -r f5565a5417e2 OllamaInterface/OllamaWidget.py --- 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(
diff -r 9850ac542faf -r f5565a5417e2 PluginAiOllama.py --- 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.",
diff -r 9850ac542faf -r f5565a5417e2 changelog.md --- a/changelog.md Thu Oct 24 14:56:16 2024 +0200 +++ b/changelog.md Sat Oct 26 11:46:18 2024 +0200 @@ -1,6 +1,10 @@ ChangeLog --------- +__Version 10.1.6__ + +- Modified some modal dialog use to ensure they have a valid parent. + __Version 10.1.5__ - adjusted code for eric7 24.10 and newer