mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:36:09 +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
|
||||
model: trafUnitNames
|
||||
|
||||
onModelChanged: {
|
||||
currentIndex = firewallConf.trafUnit;
|
||||
}
|
||||
onActivated: {
|
||||
firewallConf.trafUnit = index;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user