Steps to reproduce: 1. Start Geany and make sure that the file browser plugin is loaded and that the Files tab hasn't been shown yet (some other tab is displayed after Geany start) 2. Open Plugin Preferences and confirm it with OK. 3. In the terminal you get ``` (geany:942499): GLib-CRITICAL **: 00:36:11.316: g_file_test: assertion 'filename != NULL' failed ``` This happens because when the Files tab isn't shown, the current_dir isn't updated and is still set to NULL when the preferences dialog appears. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4307 -- Commit Summary -- * filebrowser: Eliminate runtime error when preferences confirmed -- File Changes -- M plugins/filebrowser.c (2) -- Patch Links -- https://github.com/geany/geany/pull/4307.patch https://github.com/geany/geany/pull/4307.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/4307 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/[email protected]>
