PluginMqttMonitor.py

changeset 85
1ee3f393af03
parent 84
044df16e55aa
child 86
620022b14cb4
--- a/PluginMqttMonitor.py	Wed Dec 30 11:02:05 2020 +0100
+++ b/PluginMqttMonitor.py	Sun Apr 25 17:41:32 2021 +0200
@@ -24,7 +24,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.1.0"
+version = "3.0.0"
 className = "MqttMonitorPlugin"
 packageName = "MqttMonitor"
 shortDescription = "Plug-in implementing a tool to connect to a MQTT broker"
@@ -201,11 +201,7 @@
         """
         Private slot to handle the activation of the MQTT Monitor.
         """
-        try:
-            uiLayoutType = self.__ui.getLayoutType()
-        except AttributeError:
-            # backward compatibility for eric < 18.08
-            uiLayoutType = self.__ui.layoutType
+        uiLayoutType = self.__ui.getLayoutType()
         
         if uiLayoutType == "Toolboxes":
             self.__ui.rToolboxDock.show()

eric ide

mercurial