Make EditAccount show a spinner until ready
Instead of crashing if userInfo is not yet available. statusMessage is removed for now from UserUpdated events, and the users model items will have a "loading" property.
This commit is contained in:
@@ -27,9 +27,12 @@ ApplicationWindow {
|
||||
property bool debug: false
|
||||
property bool ready: false
|
||||
|
||||
// Note: window.settingsChanged() must be called manually
|
||||
// Note: settingsChanged(), uiStateChanged(), etc must be called manually
|
||||
property var settings: ({})
|
||||
onSettingsChanged: py.saveSettings()
|
||||
onSettingsChanged: py.saveConfig("ui_settings", settings)
|
||||
|
||||
property var uiState: ({})
|
||||
onUiStateChanged: py.saveConfig("ui_state", uiState)
|
||||
|
||||
Theme { id: theme }
|
||||
Shortcuts { id: shortcuts}
|
||||
|
||||
Reference in New Issue
Block a user