mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
clean up usage of the file dialog box
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3739 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
806068c877
commit
d067344d53
@ -408,7 +408,7 @@ gncFileOpen (void)
|
||||
if (!gncFileQuerySave ())
|
||||
return;
|
||||
|
||||
newfile = fileBox(_("Open"), NULL, NULL);
|
||||
newfile = fileBox(_("Open"), NULL, gnc_history_get_last());
|
||||
gncPostFileOpen (newfile);
|
||||
|
||||
/* This dialogue can show up early in the startup process. If the
|
||||
@ -492,7 +492,7 @@ gncFileSaveAs (void)
|
||||
GNCBackendError io_err = ERR_BACKEND_NO_ERR;
|
||||
|
||||
ENTER(" ");
|
||||
filename = fileBox(_("Save"), "*.gnc", NULL);
|
||||
filename = fileBox(_("Save"), "*.gnc", gnc_history_get_last());
|
||||
if (!filename) return;
|
||||
|
||||
/* Check to see if the user specified the same file as the current
|
||||
|
Loading…
Reference in New Issue
Block a user