Fix 2nd region language dropdown not updating

This commit is contained in:
G.K.MacGregor
2020-09-11 22:43:47 +01:00
parent fcc9280391
commit 4a5372f00a

View File

@@ -188,7 +188,7 @@ void PageOptionsDockWidget::updateWidgets()
m_secondRegionCombo->blockSignals(false); m_secondRegionCombo->blockSignals(false);
m_secondNOSCombo->blockSignals(true); m_secondNOSCombo->blockSignals(true);
updateSecondNOSOptions(); updateSecondNOSOptions();
m_secondNOSCombo->setCurrentIndex(m_defaultNOSCombo->findData((m_parentMainWidget->document()->currentSubPage()->secondCharSet() << 3) | m_parentMainWidget->document()->currentSubPage()->secondNOS())); m_secondNOSCombo->setCurrentIndex(m_secondNOSCombo->findData((m_parentMainWidget->document()->currentSubPage()->secondCharSet() << 3) | m_parentMainWidget->document()->currentSubPage()->secondNOS()));
m_secondNOSCombo->blockSignals(false); m_secondNOSCombo->blockSignals(false);
} }