Sat, 26 Oct 2024 16:49:30 +0200
Made proper parent relationship of modal dialogs clearer.
--- a/ChangeLog Sat Oct 19 16:04:39 2024 +0200 +++ b/ChangeLog Sat Oct 26 16:49:30 2024 +0200 @@ -2,7 +2,7 @@ --------- Version 11.0.2: -- Fixed a backward compatibility issue with eric-ide < 24.11 +- Fixed a backward compatibility issue with eric-ide < 24.11. Version 11.0.1: - Fixed an issue causing an exception on computers with a small screen or when
--- a/MqttMonitor/MqttConnectionOptionsDialog.py Sat Oct 19 16:04:39 2024 +0200 +++ b/MqttMonitor/MqttConnectionOptionsDialog.py Sat Oct 26 16:49:30 2024 +0200 @@ -187,7 +187,7 @@ from .MqttUserPropertiesEditor import MqttUserPropertiesEditorDialog dlg = MqttUserPropertiesEditorDialog( - self.tr("Last Will User Properties"), self.__willProperties, self + self.tr("Last Will User Properties"), self.__willProperties, parent=self ) if dlg.exec() == QDialog.DialogCode.Accepted: self.__willProperties = dlg.getProperties()
--- a/MqttMonitor/MqttConnectionProfilesDialog.py Sat Oct 19 16:04:39 2024 +0200 +++ b/MqttMonitor/MqttConnectionProfilesDialog.py Sat Oct 26 16:49:30 2024 +0200 @@ -762,7 +762,7 @@ from .MqttUserPropertiesEditor import MqttUserPropertiesEditorDialog dlg = MqttUserPropertiesEditorDialog( - self.tr("Last Will User Properties"), self.__willProperties, self + self.tr("Last Will User Properties"), self.__willProperties, parent=self ) if dlg.exec() == QDialog.DialogCode.Accepted: self.__willProperties = dlg.getProperties()
--- 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)