For SQL files created through View Data or Execute Command, the Save As target folder is in the userdir.
This is a usability problem for the user to change the target folder to another folder outside the userdir everytime a
file is to be saved in another location. Also, we want to prevent users from saving in the userdir, especially if the
user deletes the userdir than all SQL files will be removed. Since SQL files usually aren't included in a project,
users will want to save them in another location than the userdir.
I'll provide a fix for this enhancement. This is a hack but changes will be local and minimal. If
DataObject.getPrimaryFile() could be overridden then I could have made a change in the db module.
This issue is a higher priority than issue 154667 .
Created attachment 75064 [details]
this seems like a duplicate of #154667, so please read my comments in issue 154667
*** This issue has been marked as a duplicate of 154667 ***