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

Arguable improvements to GoodFileDialog #677

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Conversation

MewPurPur
Copy link
Owner

Adds some right-click actions. Uses drives instead of system dirs for the panel on the left. Small improvements in other parts of the codebase.

I'm done with this widget now, it's more than good enough given GodSVG's current quality.

@MewPurPur MewPurPur merged commit ecbc7d6 into main Apr 20, 2024
2 checks passed
@MewPurPur MewPurPur deleted the improve-file-dialog branch April 20, 2024 12:54
else:
second_section.append(drive_path)
var drive_paths := first_section + second_section
print(drive_paths)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a debug print 🙂

@Swarkin
Copy link
Contributor

Swarkin commented Apr 20, 2024

I personally think system dirs should be listes alongside drive names, just like in blender.

@Swarkin
Copy link
Contributor

Swarkin commented Apr 20, 2024

The set_dir function fails if the path exists but cannot be opened.

@MewPurPur
Copy link
Owner Author

The set_dir function fails if the path exists but cannot be opened.

Any way to detect that?

@Swarkin
Copy link
Contributor

Swarkin commented Apr 20, 2024

Yes, DirAccess.open() can return null, which is also exactly the error that happened to me which I sent on the Discord earlier.

MewPurPur added a commit that referenced this pull request Jun 1, 2024
MewPurPur added a commit that referenced this pull request Jun 1, 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.

2 participants