mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix misplaced comment in gnome-utls/gnome-file.c from 19798
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19813 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0e9049458c
commit
c5821ef5fa
@ -1240,7 +1240,6 @@ gnc_file_do_save_as (const char* filename)
|
||||
|
||||
io_err = qof_session_get_error (new_session);
|
||||
|
||||
/* if file appears to be locked, ask the user ... */
|
||||
/* If the file exists and would be clobbered, ask the user */
|
||||
if (ERR_BACKEND_STORE_EXISTS == io_err) {
|
||||
const char *format = _("The file %s already exists. "
|
||||
@ -1264,6 +1263,7 @@ gnc_file_do_save_as (const char* filename)
|
||||
}
|
||||
qof_session_begin (new_session, newfile, FALSE, TRUE, TRUE);
|
||||
}
|
||||
/* if file appears to be locked, ask the user ... */
|
||||
else if (ERR_BACKEND_LOCKED == io_err || ERR_BACKEND_READONLY == io_err)
|
||||
{
|
||||
if (FALSE == show_session_error (io_err, newfile, GNC_FILE_DIALOG_SAVE))
|
||||
|
Loading…
Reference in New Issue
Block a user