'Reimplement Qt method'

@Slot()
def accept(self):

    if (not self.runconfigoptions.is_valid()):
        return
    configurations = _get_run_configurations()
    configurations.insert(0, (self.filename, self.runconfigoptions.get()))
    _set_run_configurations(configurations)
    QDialog.accept(self)
