]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiCompareHistory.cpp
Amend 0570d16a3b211
[features.git] / src / frontends / qt4 / GuiCompareHistory.cpp
index 0934c3daf1033acd8590254ce2fb73330cd79cf4..b4228a5f53cc97597f6064faca4ff3b0bdea9130 100644 (file)
@@ -138,6 +138,21 @@ void GuiCompareHistory::slotCancel()
 }
 
 
+void GuiCompareHistory::slotButtonBox(QAbstractButton * button)
+{
+       switch (buttonBox->standardButton(button)) {
+       case QDialogButtonBox::Ok:
+               slotOK();
+               break;
+       case QDialogButtonBox::Cancel:
+               slotCancel();
+               break;
+       default:
+               break;
+       }
+}
+
+
 Dialog * createGuiCompareHistory(GuiView & lv) { return new GuiCompareHistory(lv); }