From 629e2073fcafd50c83a80b63b038d3860558f2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 15 Mar 2009 15:53:17 +0000 Subject: [PATCH] please Lars. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28799 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDelimiter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiDelimiter.cpp b/src/frontends/qt4/GuiDelimiter.cpp index 3a5519de10..0327fd4833 100644 --- a/src/frontends/qt4/GuiDelimiter.cpp +++ b/src/frontends/qt4/GuiDelimiter.cpp @@ -296,8 +296,8 @@ void GuiDelimiter::on_sizeCO_activated(int index) void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *) { + // do not auto-apply if !matchCB->isChecked() if (!matchCB->isChecked()) - // do not apply return; on_insertPB_clicked(); accept(); @@ -306,8 +306,8 @@ void GuiDelimiter::on_leftLW_itemActivated(QListWidgetItem *) void GuiDelimiter::on_rightLW_itemActivated(QListWidgetItem *) { + // do not auto-apply if !matchCB->isChecked() if (!matchCB->isChecked()) - // do not apply return; on_insertPB_clicked(); accept();