When creating a new document for a non-existing file from the command line, check if we don't already have opened it and simply show the existing one if we do. This avoids creating new documents that will be saved to the same location again and again.
Closes https://bugs.launchpad.net/linuxmint/+bug/1482558 You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/646
-- Commit Summary --
* Don't open more than one document for non-existing paths from the CLI
-- File Changes --
M src/libmain.c (6)
-- Patch Links --
https://github.com/geany/geany/pull/646.patch https://github.com/geany/geany/pull/646.diff
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/646