From 6c35d5cb5b9cc6e8fd6887db976a3dc325818109 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 5 May 2018 10:29:26 +0200 Subject: [PATCH] Fix signals --- src/frontends/qt4/GuiCharacter.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 3085b37ef7..295b59e95e 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -217,14 +217,14 @@ GuiCharacter::GuiCharacter(GuiView & lv) connect(autoapplyCB, SIGNAL(stateChanged(int)), this, SLOT(slotAutoApply())); - connect(ulineCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(strikeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(sizeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(familyCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(seriesCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(shapeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(colorCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(langCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); + connect(ulineCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(strikeCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(sizeCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(familyCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(seriesCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(shapeCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(colorCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(langCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); family = familyData(); series = seriesData(); -- 2.39.2