311 E5MessageBox.warning( |
311 E5MessageBox.warning( |
312 self, |
312 self, |
313 self.trUtf8("Apply Guard Definitions"), |
313 self.trUtf8("Apply Guard Definitions"), |
314 self.trUtf8("""<p>The defined guards could not be""" |
314 self.trUtf8("""<p>The defined guards could not be""" |
315 """ applied.</p><p>Reason: {0}</p>""") |
315 """ applied.</p><p>Reason: {0}</p>""") |
316 .format(error)) |
316 .format(error)) |
317 else: |
317 else: |
318 self.__dirtyList = False |
318 self.__dirtyList = False |
319 self.on_patchSelector_activated( |
319 self.on_patchSelector_activated( |
320 self.patchNameLabel.text()) |
320 self.patchNameLabel.text()) |