Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to open more than one file at the same time #71

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

danirod
Copy link
Owner

@danirod danirod commented Aug 6, 2024

It is already possible to open multiple files using the file manager, but it is currently not possible to pick multiple files from the Open dialog.

In this commit I've patched the open_file() method to have a separate open_files() instead that opens multiple files. I am keeping the open_file() around in case I still need it in the future. The win.open action now will invoke open_files() and open every file returned by the function call.

It is already possible to open multiple files using the file manager,
but it is currently not possible to pick multiple files from the Open
dialog.

In this commit I've patched the open_file() method to have a separate
open_files() instead that opens multiple files. I am keeping the
open_file() around in case I still need it in the future. The win.open
action now will invoke open_files() and open every file returned by the
function call.
@danirod danirod added the Pending backport The pull request needs to be backported to older versions label Aug 6, 2024
@danirod danirod merged commit bf1ea41 into trunk Aug 6, 2024
2 checks passed
Phosphorus-M pushed a commit to Phosphorus-M/cartero that referenced this pull request Sep 8, 2024
Allow to open more than one file at the same time
@danirod danirod removed the Pending backport The pull request needs to be backported to older versions label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant