X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiChanges.cpp;h=63268ae24e808d3dc3f89428c7649ffd3c5455b7;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=56c917406e0ec8dc90e9983625c582afdf0a7a97;hpb=6b6d80212b09e61c5cab5f947dd6b81316bbfdfd;p=lyx.git diff --git a/src/frontends/qt4/GuiChanges.cpp b/src/frontends/qt4/GuiChanges.cpp index 56c917406e..63268ae24e 100644 --- a/src/frontends/qt4/GuiChanges.cpp +++ b/src/frontends/qt4/GuiChanges.cpp @@ -42,6 +42,7 @@ GuiChanges::GuiChanges(GuiView & lv) connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose())); connect(nextPB, SIGNAL(clicked()), this, SLOT(nextChange())); + connect(previousPB, SIGNAL(clicked()), this, SLOT(previousChange())); connect(rejectPB, SIGNAL(clicked()), this, SLOT(rejectChange())); connect(acceptPB, SIGNAL(clicked()), this, SLOT(acceptChange())); @@ -73,6 +74,12 @@ void GuiChanges::nextChange() } +void GuiChanges::previousChange() +{ + dispatch(FuncRequest(LFUN_CHANGE_PREVIOUS)); +} + + docstring GuiChanges::changeDate() const { Change const & c = bufferview()->getCurrentChange();