Merge pull request #3033 from adamreichold/fix-snapshot-selection-on-photo-load
Fixes #2914 Block bookmark changes when switching images
This commit is contained in:
@@ -230,6 +230,7 @@ void History::procParamsChanged (ProcParams* params, ProcEvent ev, Glib::ustring
|
|||||||
}
|
}
|
||||||
|
|
||||||
selchangehist.block (true);
|
selchangehist.block (true);
|
||||||
|
selchangebm.block (true);
|
||||||
|
|
||||||
if (ev == EvPhotoLoaded) {
|
if (ev == EvPhotoLoaded) {
|
||||||
initHistory ();
|
initHistory ();
|
||||||
@@ -303,6 +304,7 @@ void History::procParamsChanged (ProcParams* params, ProcEvent ev, Glib::ustring
|
|||||||
}
|
}
|
||||||
|
|
||||||
selchangehist.block (false);
|
selchangehist.block (false);
|
||||||
|
selchangebm.block (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void History::addBookmarkWithText (Glib::ustring text)
|
void History::addBookmarkWithText (Glib::ustring text)
|
||||||
|
Reference in New Issue
Block a user