From: Uwe Stöhr Date: Sun, 31 Oct 2010 22:32:53 +0000 (+0000) Subject: GuiTabular.cpp: apply immediately for all edit fields in the table dialog as discusse... X-Git-Tag: 2.0.0~2154 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e882f797bf0da76b3f054ffed3ac908ccc1d573b;p=features.git GuiTabular.cpp: apply immediately for all edit fields in the table dialog as discusses in #7001 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35953 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 3c80719aba..2f658cd23e 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -55,19 +55,19 @@ GuiTabular::GuiTabular(QWidget * parent) widthUnitCB->setCurrentItem(Length::defaultUnit()); - connect(topspaceED, SIGNAL(returnPressed()), + connect(topspaceED, SIGNAL(textEdited(QString)), this, SLOT(checkEnabled())); connect(topspaceUnit, SIGNAL(selectionChanged(lyx::Length::UNIT)), this, SLOT(checkEnabled())); connect(topspaceCO, SIGNAL(activated(int)), this, SLOT(checkEnabled())); - connect(bottomspaceED, SIGNAL(returnPressed()), + connect(bottomspaceED, SIGNAL(textEdited(QString)), this, SLOT(checkEnabled())); connect(bottomspaceUnit, SIGNAL(selectionChanged(lyx::Length::UNIT)), this, SLOT(checkEnabled())); connect(bottomspaceCO, SIGNAL(activated(int)), this, SLOT(checkEnabled())); - connect(interlinespaceED, SIGNAL(returnPressed()), + connect(interlinespaceED, SIGNAL(textEdited(QString)), this, SLOT(checkEnabled())); connect(interlinespaceUnit, SIGNAL(selectionChanged(lyx::Length::UNIT)), this, SLOT(checkEnabled()));