mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +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/trunk@28792 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d3cca37860
commit
53877ef28f
@ -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