* 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:
Jürgen Spitzmüller 2009-03-15 13:15:24 +00:00
parent d3cca37860
commit 53877ef28f

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();
}