mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:45:44 +00:00
UI: StatisticsPage: Fix current unit after language change.
This commit is contained in:
parent
2e483ed04b
commit
8d95e86c81
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user