geany / geany-plugins

The combined Geany Plugins collection
http://plugins.geany.org/
581 stars 262 forks source link

codenav: Keep "Go to file" dialog open after denying creation of file that wasn't found #1329

Open gkatev opened 2 months ago

gkatev commented 2 months ago

Previously, if the file wasn't found and you replied 'no' to the prompt for creating it, all dialogs closed. This can be annoying in situations where the name/path was entered wrong, and you have to start all over again after receiving the file not found error. This commit allows one to amend the mistake from right where they left off.

Demo before:

https://github.com/geany/geany-plugins/assets/31203804/590aee45-ccd4-4996-841e-77464c7a6afa

Demo after:

https://github.com/geany/geany-plugins/assets/31203804/ff4a9203-6a61-4057-9650-24580bf173e3