added busy indicator when loading a list of clients, on the client management panel

This commit is contained in:
vladimir.kuznetsov 2023-01-11 21:36:18 +03:00
parent a7030cdcb9
commit 24ea686e4d
4 changed files with 14 additions and 3 deletions

View file

@ -12,6 +12,7 @@ PageBase {
id: root
page: PageEnum.ClientManagement
logic: ClientManagementLogic
enabled: !ClientManagementLogic.busyIndicatorIsRunning
BackButton {
id: back
@ -43,7 +44,13 @@ PageBase {
anchors.left: parent.left
font.pixelSize: 20
horizontalAlignment: Text.AlignHCenter
text: ServerSettingsLogic.labelCurrentVpnProtocolText
text: ClientManagementLogic.labelCurrentVpnProtocolText
}
BusyIndicator {
anchors.horizontalCenter: parent.horizontalCenter
visible: ClientManagementLogic.busyIndicatorIsRunning
running: ClientManagementLogic.busyIndicatorIsRunning
}
SortFilterProxyModel {