fix drop files in files widget

This commit is contained in:
Jakub Trllo 2022-03-24 16:47:37 +01:00
parent 1c775b382f
commit 9ae5474a92

View file

@ -641,5 +641,6 @@ class SingleFileWidget(QtWidgets.QWidget):
filepaths.append(filepath)
# TODO filter check
if len(filepaths) == 1:
self.set_value(filepaths[0], False)
self._filepath_input.setText(filepaths[0])
event.accept()