0

Is there some way to provide a default value for the "Save as" field displayed in the showSaveDialog?

Currently, it defaults to "untitled" (see below). This is not useful when an app user already has indicated what they want to save. I get around this by informing the user via showMessage what they're saving (so they can re-enter the name) but it would be a lot cleaner to provide the default location in the save dialog.

showSaveDialog window

I have tried setting the defaultPath to the absolute path to the file as suggested in a couple of posts but that doesn't change anything.

vimuth
  • 5,064
  • 33
  • 79
  • 116

0 Answers0