#include "BufferView.h"
#include "Changes.h"
#include "FuncRequest.h"
-#include "lyxfind.h"
#include "LyXRC.h"
#include <QTextBrowser>
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()));
}
+void GuiChanges::previousChange()
+{
+ dispatch(FuncRequest(LFUN_CHANGE_PREVIOUS));
+}
+
+
docstring GuiChanges::changeDate() const
{
Change const & c = bufferview()->getCurrentChange();