Fix for url import dialog (#937)

This commit is contained in:
Raivis Dejus 2024-10-08 08:33:44 +03:00 committed by GitHub
commit d97d77d715
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,8 +35,6 @@ class ImportURLDialog(QDialog):
self.layout.addWidget(self.button_box)
self.setLayout(self.layout)
self.setMaximumSize(0, 0)
def accept(self):
if self.url_regex.match(self.line_edit.text()).hasMatch():
self.url = self.line_edit.text()