UI: StatisticsPage: Fix current unit after language change.

This commit is contained in:
Nodir Temirkhodjaev 2017-12-14 10:03:23 +05:00
parent 2e483ed04b
commit 8d95e86c81

View File

@ -70,6 +70,9 @@ BasePage {
currentIndex: firewallConf.trafUnit currentIndex: firewallConf.trafUnit
model: trafUnitNames model: trafUnitNames
onModelChanged: {
currentIndex = firewallConf.trafUnit;
}
onActivated: { onActivated: {
firewallConf.trafUnit = index; firewallConf.trafUnit = index;