APIsManager: fixed an issue causing the project related API database not to be opened when a second project gets opened. release-5.1.1

Mon, 16 Nov 2020 17:30:41 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 16 Nov 2020 17:30:41 +0100
changeset 168
92a06e353fa9
parent 167
ca751e44d560
child 169
8a5f79dfc56c

APIsManager: fixed an issue causing the project related API database not to be opened when a second project gets opened.

AssistantEric/APIsManager.py file | annotate | diff | comparison | revisions
ChangeLog file | annotate | diff | comparison | revisions
PluginAssistantEric.py file | annotate | diff | comparison | revisions
PluginAssistantEric.zip file | annotate | diff | comparison | revisions
--- a/AssistantEric/APIsManager.py	Wed Oct 07 19:27:00 2020 +0200
+++ b/AssistantEric/APIsManager.py	Mon Nov 16 17:30:41 2020 +0100
@@ -749,6 +749,7 @@
         if QSqlDatabase and QSqlDatabase.database(
                 self.__connectionName).isOpen():
             QSqlDatabase.database(self.__connectionName).close()
+            QSqlDatabase.removeDatabase(self.__connectionName)
         
         self.__opened = False
         
--- a/ChangeLog	Wed Oct 07 19:27:00 2020 +0200
+++ b/ChangeLog	Mon Nov 16 17:30:41 2020 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.1.1:
+- bug fixes
+
 Version 5.1.0:
 - changed exec_() into exec()
 
--- a/PluginAssistantEric.py	Wed Oct 07 19:27:00 2020 +0200
+++ b/PluginAssistantEric.py	Mon Nov 16 17:30:41 2020 +0100
@@ -24,7 +24,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.1.0"
+version = "5.1.1"
 className = "AssistantEricPlugin"
 packageName = "AssistantEric"
 shortDescription = "Alternative autocompletion and calltips provider."
Binary file PluginAssistantEric.zip has changed

eric ide

mercurial