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( |
418 """Only one of 'Only Show In' or """ """ 'Not Show In' allowed.""" |
418 """Only one of 'Only Show In' or 'Not Show In' allowed.""" |
419 ), |
419 ), |
420 ) |
420 ) |
421 |
421 |
422 @pyqtSlot() |
422 @pyqtSlot() |
423 def on_onlyShowButton_clicked(self): |
423 def on_onlyShowButton_clicked(self): |
444 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
444 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
445 EricMessageBox.critical( |
445 EricMessageBox.critical( |
446 self, |
446 self, |
447 self.tr(".desktop Wizard"), |
447 self.tr(".desktop Wizard"), |
448 self.tr( |
448 self.tr( |
449 """Only one of 'Only Show In' or """ """ 'Not Show In' allowed.""" |
449 """Only one of 'Only Show In' or 'Not Show In' allowed.""" |
450 ), |
450 ), |
451 ) |
451 ) |
452 |
452 |
453 @pyqtSlot() |
453 @pyqtSlot() |
454 def on_notShowButton_clicked(self): |
454 def on_notShowButton_clicked(self): |