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

Default filename parameter for save file dialog #213

Draft
wants to merge 3 commits into
base: debug
Choose a base branch
from

Conversation

Andersen27
Copy link
Contributor

@Andersen27 Andersen27 commented Sep 23, 2024

Default filename parameter for save file dialog.
This is a solution for issue #140.
Supplied together with PR for Photino.Native (tryphotino/photino.Native#140).

@philippjbauer
Copy link
Member

This looks good all in all. I just added a small change request to the PR. If you can resolve that we will merge it for the next release.

@Andersen27
Copy link
Contributor Author

Can't found that change. Anyway i turned on "Allow edits by maintainers" option for my branch.

@@ -2459,7 +2459,7 @@ public void SendNotification(string title, string body)
/// <param name="defaultPath">Default path. Defaults to <see cref="Environment.SpecialFolder.MyDocuments"/></param>
/// <param name="filters">Array of <see cref="Extensions"/> for filtering.</param>
/// <returns></returns>
public string ShowSaveFile(string title = "Save file", string defaultPath = null, (string Name, string[] Extensions)[] filters = null)
Copy link
Member

Choose a reason for hiding this comment

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

Can you add this back in as a method overload and call the new signature, supplying a null value for the new defaultFileName parameter?

@philippjbauer
Copy link
Member

Can't found that change. Anyway i turned on "Allow edits by maintainers" option for my branch.

Sorry about that. I forgot to submit the review

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