mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Fix ListViewType scrolling on country selection page
This commit is contained in:
@@ -51,7 +51,13 @@ PageType {
|
|||||||
|
|
||||||
model: ApiCountryModel
|
model: ApiCountryModel
|
||||||
|
|
||||||
currentIndex: 0
|
// Commented out the binding to prevent constant reset to 0
|
||||||
|
// currentIndex: 0
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
// One-time initialization to 0, allowing free scrolling afterward
|
||||||
|
currentIndex = 0
|
||||||
|
}
|
||||||
|
|
||||||
ButtonGroup {
|
ButtonGroup {
|
||||||
id: containersRadioButtonGroup
|
id: containersRadioButtonGroup
|
||||||
|
|||||||
Reference in New Issue
Block a user