diff --git a/rtgui/editorpanel.cc b/rtgui/editorpanel.cc index 7a234acb3..33dad86ca 100644 --- a/rtgui/editorpanel.cc +++ b/rtgui/editorpanel.cc @@ -567,6 +567,7 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc) Gtk::Allocation alloc; iareapanel->imageArea->on_resized(alloc); } + history->resetSnapShotNumber(); } void EditorPanel::close () diff --git a/rtgui/history.h b/rtgui/history.h index 1c3e9e0b4..daf3b9205 100644 --- a/rtgui/history.h +++ b/rtgui/history.h @@ -126,6 +126,7 @@ public: void redo (); bool blistenerLock; + void resetSnapShotNumber() {bmnum = 1;}; }; #endif