* 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:
Jürgen Spitzmüller 2009-03-15 13:16:10 +00:00
parent b6a7ca444f
commit 838b3e9193

View File

@ -296,6 +296,9 @@ void GuiDelimiter::on_sizeCO_activated(int index)
void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *)
{
if (!matchCB->isChecked())
// do not apply
return;
on_insertPB_clicked();
accept();
}
@ -303,6 +306,9 @@ void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *)
void GuiDelimiter::on_rightLW_itemActivated(QListWidgetItem *)
{
if (!matchCB->isChecked())
// do not apply
return;
on_insertPB_clicked();
accept();
}