Fix bug #2213 (part 4): GuiChanges lacks "Previous Change" button.

Also show the Merge dialog when we are behind the last change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-04-05 19:26:26 +00:00
parent bb5b02a362
commit 58b87df638

View File

@ -1236,7 +1236,7 @@ bool BufferView::dispatch(FuncRequest const & cmd)
break;
case LFUN_CHANGES_MERGE:
if (findNextChange(this)) {
if (findNextChange(this) || findPreviousChange(this)) {
processUpdateFlags(Update::Force | Update::FitCursor);
showDialog("changes");
}