diff --git a/src/windows/models/files_model.py b/src/windows/models/files_model.py index 30e7aebd4..0ce814a22 100644 --- a/src/windows/models/files_model.py +++ b/src/windows/models/files_model.py @@ -483,9 +483,8 @@ def get_image_sequence_details(self, file_path): } return parameters - def process_urls(self, qurl_list): + def process_urls(self, qurl_list, import_quietly=False, prevent_image_seq=False): """Recursively process QUrls from a QDropEvent""" - import_quietly = False media_paths = [] # Transaction @@ -516,7 +515,7 @@ def process_urls(self, qurl_list): # Import all new media files media_paths.sort() log.debug("Importing file list: {}".format(media_paths)) - self.add_files(media_paths, quiet=import_quietly) + self.add_files(media_paths, quiet=import_quietly, prevent_image_seq=prevent_image_seq) get_app().updates.transaction_id = None def update_file_thumbnail(self, file_id): diff --git a/src/windows/views/timeline.py b/src/windows/views/timeline.py index f2c080e7c..188a37d1d 100644 --- a/src/windows/views/timeline.py +++ b/src/windows/views/timeline.py @@ -3022,7 +3022,7 @@ def dragEnterEvent(self, event): urls = event.mimeData().urls() # Import list of files - get_app().window.files_model.process_urls(urls) + get_app().window.files_model.process_urls(urls, import_quietly=True, prevent_image_seq=True) # Get File objects and add JSON data for uri in urls: