def accept(self): """ Completes the data import. """ self.accepted = True from nexpy.gui.consoleapp import _mainwindow _mainwindow.import_data() super(BaseImportDialog, self).accept()
def accept(self): """ Completes the data import. """ self.accepted = True from nexpy.gui.consoleapp import _mainwindow _mainwindow.import_data() QtGui.QDialog.accept(self)