259 """ |
259 """ |
260 if self.__isDirty(): |
260 if self.__isDirty(): |
261 ok = EricMessageBox.okToClearData( |
261 ok = EricMessageBox.okToClearData( |
262 self, |
262 self, |
263 self.tr("Unsaved Data"), |
263 self.tr("Unsaved Data"), |
264 self.tr( |
264 self.tr("""The list of devices contains some with modified data."""), |
265 """The list of devices contains some with modified data.""" |
|
266 ), |
|
267 self.__saveDeviceData, |
265 self.__saveDeviceData, |
268 ) |
266 ) |
269 if not ok: |
267 if not ok: |
270 return |
268 return |
271 |
269 |