mirror of https://github.com/GNOME/gimp.git
Check the prefs for trust_dirty_flag; if we don't trust it, save no
matter what.
This commit is contained in:
parent
51d6de9b6b
commit
6f022ac3bc
|
@ -415,7 +415,7 @@ file_save_callback (GtkWidget *w,
|
|||
if (!gdisplay) return;
|
||||
|
||||
/* Only save if the gimage has been modified */
|
||||
if (gdisplay->gimage->dirty != 0)
|
||||
if (!trust_dirty_flag || gdisplay->gimage->dirty != 0)
|
||||
{
|
||||
if (gdisplay->gimage->has_filename == FALSE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue