def showExtension(self, extend):
        if extend:
            self.changes_list_widget.clear()
            self.changes_list_widget.addItem(
                _("The following items need to be resolved by this dialog"))
            self.changes_list_widget.addItems(self.treatment_item.errors)

        ExtendableDialog.showExtension(self, extend)
Пример #2
0
    def showExtension(self, extend):
        if extend:
            self.changes_list_widget.clear()
            self.changes_list_widget.addItem(
                _("The following items need to be resolved by this dialog"))
            self.changes_list_widget.addItems(self.treatment_item.errors)

        ExtendableDialog.showExtension(self, extend)
Пример #3
0
 def showExtension(self, extend):
     if extend:
         self.changes_list_widget.clear()
         self.changes_list_widget.addItems(self.changes())
     ExtendableDialog.showExtension(self, extend)
 def showExtension(self, extend):
     if extend:
         self.changes_list_widget.clear()
         self.changes_list_widget.addItems(self.changes())
     ExtendableDialog.showExtension(self, extend)