mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Use case:
1) launch the dialog 2) select a delimiter in the left pane 3) Tab 4) select a delimiter in the right pane 5) Enter So: - Also enable the quick insertion while in the right pane - Do not limit the quick insertion to matched key git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17732 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4f135f2dd6
commit
096b63170a
@ -150,9 +150,13 @@ void QDelimiterDialog::insertClicked()
|
|||||||
|
|
||||||
void QDelimiterDialog::on_leftLW_itemActivated(QListWidgetItem *)
|
void QDelimiterDialog::on_leftLW_itemActivated(QListWidgetItem *)
|
||||||
{
|
{
|
||||||
if (!matchCB->isChecked())
|
insertClicked();
|
||||||
return;
|
accept();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void QDelimiterDialog::on_rightLW_itemActivated(QListWidgetItem *)
|
||||||
|
{
|
||||||
insertClicked();
|
insertClicked();
|
||||||
accept();
|
accept();
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@ public:
|
|||||||
QDelimiterDialog(QMathDelimiter * form);
|
QDelimiterDialog(QMathDelimiter * form);
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void on_leftLW_itemActivated(QListWidgetItem *);
|
void on_leftLW_itemActivated(QListWidgetItem *);
|
||||||
|
void on_rightLW_itemActivated(QListWidgetItem *);
|
||||||
void on_leftLW_currentRowChanged(int);
|
void on_leftLW_currentRowChanged(int);
|
||||||
void on_rightLW_currentRowChanged(int);
|
void on_rightLW_currentRowChanged(int);
|
||||||
void on_matchCB_stateChanged(int);
|
void on_matchCB_stateChanged(int);
|
||||||
|
Loading…
Reference in New Issue
Block a user