'Reimplement Qt method'

def accept(self):

    configurations = []
    for index in range(self.stack.count()):
        filename = to_text_string(self.combo.itemText(index))
        runconfigoptions = self.stack.widget(index)
        if ((index == self.stack.currentIndex()) and (not runconfigoptions.is_valid())):
            return
        options = runconfigoptions.get()
        configurations.append((filename, options))
    _set_run_configurations(configurations)
    QDialog.accept(self)
