mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Show dialog on successful report save. #450984
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16221 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ea198a90a2
commit
c160569737
@ -406,7 +406,17 @@
|
||||
(begin
|
||||
(display saved-form
|
||||
(open-file conf-file-name "a"))
|
||||
(force-output)))))
|
||||
(force-output)
|
||||
(let ((report-name (gnc:report-name report)))
|
||||
(gnc-info-dialog
|
||||
'()
|
||||
(sprintf
|
||||
#f (_ "Your report \"%s\" has been saved into the configuration file \"%s\". The report will be available in the menu Reports -> Custom at the next startup of GnuCash.")
|
||||
(if (and report-name (not (string-null? report-name)))
|
||||
(gnc:gettext report-name)
|
||||
(gnc:gettext "Untitled"))
|
||||
conf-file-name)))
|
||||
))))
|
||||
|
||||
;; gets the renderer from the report template;
|
||||
;; gets the stylesheet from the report;
|
||||
|
Loading…
Reference in New Issue
Block a user