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 for URI with spaces to be opened & fix empty local gallery crash #752

Merged
merged 2 commits into from
Dec 31, 2021

Conversation

HoloWise
Copy link
Contributor

I have added check for case where gallery is loaded but empty which previously would cause a crash, most likely a more robust check is possible but this does the job without any bigger pieces of code or major rewrites.

Also modified the way images from local gallery are being opened, previous approach would not respect URI with spaces, this approach allows it as it adds quotes around URI (first quotes have to be empty since if we use quotes with start command it expects first quotes to have command prompt window name)

@Yuki-Codes Yuki-Codes merged commit 2dd66e1 into imchillin:master Dec 31, 2021
@Yuki-Codes
Copy link
Contributor

looks good! thanks for catching this.

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.

2 participants