MqttMonitor/MqttMonitorWidget.py

branch
eric7
changeset 153
4f4c2e272dcc
parent 143
51bc5bcc672a
child 154
b66cfd856e93
--- a/MqttMonitor/MqttMonitorWidget.py	Sat Oct 19 16:04:39 2024 +0200
+++ b/MqttMonitor/MqttMonitorWidget.py	Sat Oct 26 16:49:30 2024 +0200
@@ -1539,7 +1539,9 @@
 
         preferencesKey = "{0}Properties".format(propertiesType.capitalize())
         properties = self.__plugin.getPreferences(preferencesKey)
-        dlg = MqttUserPropertiesEditorDialog(header, properties.get(key, []), self)
+        dlg = MqttUserPropertiesEditorDialog(
+            header, properties.get(key, []), parent=self
+        )
         if dlg.exec() == QDialog.DialogCode.Accepted:
             properties[key] = dlg.getProperties()
             self.__plugin.setPreferences(preferencesKey, properties)

eric ide

mercurial