mirror of https://github.com/GNOME/gimp.git
app: Don't reset save-a-copy URI on URI change
This commit is contained in:
parent
d8f3cd1b26
commit
2fcf33db5d
|
@ -201,14 +201,6 @@ file_save_dialog_response (GtkWidget *save_dialog,
|
|||
GIMP_FILE_SAVE_A_COPY_URI_KEY,
|
||||
g_strdup (uri), (GDestroyNotify) g_free);
|
||||
}
|
||||
else if (! dialog->save_a_copy &&
|
||||
strcmp (uri, gimp_image_get_uri (dialog->image)) != 0)
|
||||
{
|
||||
/* reset the "save-a-copy" filename on URI Change */
|
||||
g_object_set_data (G_OBJECT (dialog->image),
|
||||
GIMP_FILE_SAVE_A_COPY_URI_KEY,
|
||||
NULL);
|
||||
}
|
||||
|
||||
if (! dialog->export)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue