Remove Controller::accountCount in favor of AccountRegistry::accountCount
This commit is contained in:
@@ -79,7 +79,7 @@ FormCard.FormCardPage {
|
||||
Dialog.ConfirmLogout {
|
||||
connection: model.connection
|
||||
onAccepted: {
|
||||
if (Controller.accountCount === 1) {
|
||||
if (AccountRegistry.accountCount === 1) {
|
||||
root.Window.window.close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user