I think I know where the issue is.
Apparently we did check if default_folder is "None" in lin 47 but the value of
default_folder is None instead (None and not the string "None")
so if we change from:
if default_folder != "None":
self.frmAddFiles.set_current_folder(preferences.Settings.app_state["import_folder"])
to:
if default_folder != None:
self.frmAddFiles.set_current_folder(preferences.Settings.app_state["import_folder"])
the problem should be fix. Though I don't know whether or not there is a case
where default_folder is "None", in that case we should check both.
In the first place, the issue only happen if you import files from "Recently
Used" or something similar. A better fix might be to check if the current
folder is None before assigning it to "import_folder".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/874906
Title:
can't import files more than one time
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openshot/+bug/874906/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs