Commit 90637200 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

URL selector: start from current URL

parent c8772be5
Pipeline #79605 passed with stages
in 8 minutes and 24 seconds
......@@ -570,6 +570,10 @@ class _URLSelector(qt.QWidget):
def _selectFile(self, *args, **kwargs):
dialog = DataFileDialog(self)
url = self._qLineEdit.text()
if url:
dialog.selectUrl(url)
if not dialog.exec_():
dialog.close()
return None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment