]> git.lyx.org Git - features.git/commitdiff
GuiBox: remove unneeded connection and use a more senible signal
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 May 2015 11:13:04 +0000 (13:13 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 May 2015 11:13:04 +0000 (13:13 +0200)
src/frontends/qt4/GuiBox.cpp

index b34bd68d062a7da8cc560a46c3742b9f4a859e53..afc646281fcd6ca8fc5cc4fe01ff3e7063304b3a 100644 (file)
@@ -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));