mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 17:09:41 +00:00
Amend 0570d16a3b211
When slot[Ok|Apply|Cancel]() from GuiDialog are re-implemented, we also need to re-implement slotButtonBox()
This commit is contained in:
parent
0570d16a3b
commit
4d9fa8a0d7
@ -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); }
|
Dialog * createGuiCompareHistory(GuiView & lv) { return new GuiCompareHistory(lv); }
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ private Q_SLOTS:
|
|||||||
///
|
///
|
||||||
void slotCancel();
|
void slotCancel();
|
||||||
///
|
///
|
||||||
|
void slotButtonBox(QAbstractButton *);
|
||||||
|
///
|
||||||
void selectRevback();
|
void selectRevback();
|
||||||
///
|
///
|
||||||
void selectBetweenrev();
|
void selectBetweenrev();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user