Change comobox signal to user interaction only to avoid problems with "Apply changes immediately" aka "Immediate Apply". (See https://doc.qt.io/qt-5/qcombobox.html#currentIndexChanged and https://doc.qt.io/qt-5/qcombobox.html#activated.)

(cherry picked from commit d3a04c089b)
This commit is contained in:
Daniel Ramoeller 2020-08-07 16:13:48 +02:00 committed by Richard Kimberly Heck
parent fbdb42ac95
commit e0840677e3
2 changed files with 10 additions and 8 deletions

View File

@ -218,14 +218,14 @@ GuiCharacter::GuiCharacter(GuiView & lv)
connect(autoapplyCB, SIGNAL(stateChanged(int)), this,
SLOT(slotAutoApply()));
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()));
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()));
family = familyData();
series = seriesData();

View File

@ -26,6 +26,8 @@ What's new
- Add support for the doublestroke package in mathed (bug 11887).
- Fix behavior of text style dialog when "Immediate Apply" is checked (bug 11926).
- Focus keyword field in Thesaurus dialog.