| 33 | }; |
| 34 | |
| 35 | ImportPage::ImportPage(NewInstanceDialog* dialog, QWidget *parent) |
| 36 | : QWidget(parent), ui(new Ui::ImportPage), dialog(dialog) |
| 37 | { |
| 38 | ui->setupUi(this); |
| 39 | ui->modpackEdit->setValidator(new UrlValidator(ui->modpackEdit)); |
| 40 | connect(ui->modpackEdit, &QLineEdit::textChanged, this, &ImportPage::updateState); |
| 41 | } |
| 42 | |
| 43 | ImportPage::~ImportPage() |
| 44 | { |