412 self.__checkOK() |
412 self.__checkOK() |
413 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
413 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
414 EricMessageBox.critical( |
414 EricMessageBox.critical( |
415 self, |
415 self, |
416 self.tr(".desktop Wizard"), |
416 self.tr(".desktop Wizard"), |
417 self.tr( |
417 self.tr("""Only one of 'Only Show In' or 'Not Show In' allowed."""), |
418 """Only one of 'Only Show In' or 'Not Show In' allowed.""" |
|
419 ), |
|
420 ) |
418 ) |
421 |
419 |
422 @pyqtSlot() |
420 @pyqtSlot() |
423 def on_onlyShowButton_clicked(self): |
421 def on_onlyShowButton_clicked(self): |
424 """ |
422 """ |
443 self.__checkOK() |
441 self.__checkOK() |
444 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
442 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
445 EricMessageBox.critical( |
443 EricMessageBox.critical( |
446 self, |
444 self, |
447 self.tr(".desktop Wizard"), |
445 self.tr(".desktop Wizard"), |
448 self.tr( |
446 self.tr("""Only one of 'Only Show In' or 'Not Show In' allowed."""), |
449 """Only one of 'Only Show In' or 'Not Show In' allowed.""" |
|
450 ), |
|
451 ) |
447 ) |
452 |
448 |
453 @pyqtSlot() |
449 @pyqtSlot() |
454 def on_notShowButton_clicked(self): |
450 def on_notShowButton_clicked(self): |
455 """ |
451 """ |