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

Refactor import file: is_same_file function #2451

Merged
merged 10 commits into from Dec 5, 2021

Conversation

nickleus27
Copy link
Contributor

#2403
Made new function in canvasview.cpp called is_same_file() This puts the code from import_file() that checks if file selected is same file into a separate bool function to make import_file() cleaner. I am unsure if this new helper function should be a private or public function. At the moment I have it as public.

@ice0 ice0 merged commit d37e72a into synfig:master Dec 5, 2021
@ice0
Copy link
Collaborator

ice0 commented Dec 5, 2021

Merged. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants