Fix sign out

This commit is contained in:
miruka 2019-12-16 04:10:23 -04:00
parent 5765638466
commit aad317126a

View File

@ -23,7 +23,6 @@ HTileDelegate {
Behavior on opacity { HOpacityAnimator {} }
property bool disconnecting: false
readonly property bool forceExpand: Boolean(mainPaneList.filter)
// Hide harmless error when a filter matches nothing
@ -32,11 +31,9 @@ HTileDelegate {
} catch (err) {}
onActivated: if (! disconnecting) {
pageLoader.showPage(
onActivated: pageLoader.showPage(
"AccountSettings/AccountSettings", { "userId": model.data.user_id }
)
}
function toggleCollapse() {
@ -120,7 +117,6 @@ HTileDelegate {
"Popups/SignOutPopup.qml",
window,
{ "userId": model.data.user_id },
popup => { popup.ok.connect(() => { disconnecting = true }) },
)
}
}