mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
* GuiDelimiter.cpp:
- do not auto-apply if "match" is not chosen (bug 5789). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28793 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b6a7ca444f
commit
838b3e9193
@ -296,6 +296,9 @@ void GuiDelimiter::on_sizeCO_activated(int index)
|
|||||||
|
|
||||||
void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *)
|
void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *)
|
||||||
{
|
{
|
||||||
|
if (!matchCB->isChecked())
|
||||||
|
// do not apply
|
||||||
|
return;
|
||||||
on_insertPB_clicked();
|
on_insertPB_clicked();
|
||||||
accept();
|
accept();
|
||||||
}
|
}
|
||||||
@ -303,6 +306,9 @@ void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *)
|
|||||||
|
|
||||||
void GuiDelimiter::on_rightLW_itemActivated(QListWidgetItem *)
|
void GuiDelimiter::on_rightLW_itemActivated(QListWidgetItem *)
|
||||||
{
|
{
|
||||||
|
if (!matchCB->isChecked())
|
||||||
|
// do not apply
|
||||||
|
return;
|
||||||
on_insertPB_clicked();
|
on_insertPB_clicked();
|
||||||
accept();
|
accept();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user