mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-26 09:04:44 +00:00
Fix GUI drag and drop.
This commit is contained in:
parent
faa743e876
commit
47451d7def
1 changed files with 2 additions and 2 deletions
|
|
@ -584,8 +584,8 @@ Version 2 or later.
|
|||
"""Handle drop event. Detects and loads project files, else sets the URL."""
|
||||
mime = event.mimeData()
|
||||
url = mime.urls()[0]
|
||||
if url.path().toLower().endswith(ProjectExt):
|
||||
if url.path().toLower().endsWith(ProjectExt):
|
||||
filename = unicode(url.toLocalFile())
|
||||
loadproject(self, filename)
|
||||
else:
|
||||
self.urlinput.setText(url)
|
||||
self.urlinput.setText(url.toString())
|
||||
|
|
|
|||
Loading…
Reference in a new issue