'Reimplement Qt method'

@Slot()
def reject(self):

    if (self.arraywidget is not None):
        for index in range(self.stack.count()):
            self.stack.widget(index).reject_changes()
    QDialog.reject(self)
