The attached trivial patch fixes
http://bugzilla.lyx.org/show_bug.cgi?id=3345
There's no need for a fracClicked handling, as for the other similar buttons.
OK to go in?
regards Uwe
Index: QMathDialog.C
===================================================================
--- QMathDialog.C (revision 17464)
+++ QMathDialog.C (working copy)
@@ -63,7 +63,6 @@
connect( tearoffPB, SIGNAL( clicked() ), this, SLOT( expandClicked() ) );
connect( closePB, SIGNAL( clicked() ), this, SLOT( accept() ) );
- connect( fracPB, SIGNAL( clicked() ), this, SLOT( fracClicked() ) );
connect( superscriptPB, SIGNAL( clicked() ), this, SLOT( superscriptClicked() ) );
connect( subscriptPB, SIGNAL( clicked() ), this, SLOT( subscriptClicked() ) );
connect( delimitersPB, SIGNAL( clicked() ), this, SLOT( delimiterClicked() ) );
@@ -202,12 +201,6 @@
}
-void QMathDialog::fracClicked()
-{
- form_->controller().dispatchInsert("frac");
-}
-
-
void QMathDialog::delimiterClicked()
{
form_->controller().showDialog("mathdelimiter");
Index: QMathDialog.h
===================================================================
--- QMathDialog.h (revision 17464)
+++ QMathDialog.h (working copy)
@@ -53,7 +53,6 @@
public Q_SLOTS:
virtual void delimiterClicked();
virtual void expandClicked();
- virtual void fracClicked();
virtual void functionSelected(QListWidgetItem *);
virtual void matrixClicked();
virtual void subscriptClicked();