shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
502 stars 35 forks source link

Make variables in fct_validate_filename local to fix #593 #601

Closed Photon89 closed 10 months ago

Photon89 commented 11 months ago

Looks like calling fct_validate_filename() to check the profile name interfered with setting the filename variable from the settings dialog such that the latter has been set to an empty string for some reason. With all variables made local there shouldn't be any interference left.