## Steps to reproduce:

1. Open a document
1. File->Save As
1. Notice an interesting file in the list of files in the dialog
1. Open interesting file from the command-line (in another program) with `geany 
interesting-file`. The file opens in the background underneath the Save As 
dialog.
1. Type a new filename and click save

The `interesting-file` document will have been saved with the new filename. The 
original document will still be open, unsaved.

## Cause

`handle_save_as` is dialogs.c uses `document_get_current`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2599

Reply via email to