mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +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 *)
|
||||
{
|
||||
if (!matchCB->isChecked())
|
||||
return;
|
||||
insertClicked();
|
||||
accept();
|
||||
}
|
||||
|
||||
|
||||
void QDelimiterDialog::on_rightLW_itemActivated(QListWidgetItem *)
|
||||
{
|
||||
insertClicked();
|
||||
accept();
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ public:
|
||||
QDelimiterDialog(QMathDelimiter * form);
|
||||
public Q_SLOTS:
|
||||
void on_leftLW_itemActivated(QListWidgetItem *);
|
||||
void on_rightLW_itemActivated(QListWidgetItem *);
|
||||
void on_leftLW_currentRowChanged(int);
|
||||
void on_rightLW_currentRowChanged(int);
|
||||
void on_matchCB_stateChanged(int);
|
||||
|
Loading…
Reference in New Issue
Block a user