allow drag&drop of multiple files
This commit is contained in:
@@ -144,8 +144,9 @@ class MainWindow(QMainWindow):
|
||||
e.ignore()
|
||||
|
||||
def dropEvent(self, e):
|
||||
file = urlutils.url_to_path(e.mimeData().text())
|
||||
PluginRegistry.execute_single("open_file", file)
|
||||
files = urlutils.urls_to_path(e.mimeData().text())
|
||||
for file in files:
|
||||
PluginRegistry.execute_single("open_file", file)
|
||||
|
||||
def _restore_window(self):
|
||||
qsettings = CuteSettings()
|
||||
|
||||
Reference in New Issue
Block a user