mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
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:
parent
bb5b02a362
commit
58b87df638
@ -1236,7 +1236,7 @@ bool BufferView::dispatch(FuncRequest const & cmd)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_CHANGES_MERGE:
|
case LFUN_CHANGES_MERGE:
|
||||||
if (findNextChange(this)) {
|
if (findNextChange(this) || findPreviousChange(this)) {
|
||||||
processUpdateFlags(Update::Force | Update::FitCursor);
|
processUpdateFlags(Update::Force | Update::FitCursor);
|
||||||
showDialog("changes");
|
showDialog("changes");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user