From e1b1dd7445315162aea33163cb2e9e6fb45f9349 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 18 May 2015 13:13:04 +0200 Subject: [PATCH] GuiBox: remove unneeded connection and use a more senible signal --- src/frontends/qt4/GuiBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp index b34bd68d06..afc646281f 100644 --- a/src/frontends/qt4/GuiBox.cpp +++ b/src/frontends/qt4/GuiBox.cpp @@ -151,8 +151,8 @@ GuiBox::GuiBox(QWidget * parent) : InsetParamsWidget(parent) connect(shadowsizeED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); connect(shadowsizeUnitsLC, SIGNAL(selectionChanged(lyx::Length::UNIT)), this, SIGNAL(changed())); - connect(frameColorCO, SIGNAL(highlighted(QString)), this, SIGNAL(changed())); - connect(backgroundColorCO, SIGNAL(highlighted(QString)), this, SIGNAL(changed())); + connect(backgroundColorCO, SIGNAL(currentIndexChanged(int)), + this, SIGNAL(changed())); heightED->setValidator(unsignedLengthValidator(heightED)); widthED->setValidator(unsignedLengthValidator(widthED));