From acb37db6f1b3353090e3e6212cbfb0e02d9a267a Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 29 Jan 2023 10:08:16 -0500 Subject: [PATCH] Fix canceling quick unlock when it is unavailable (#9034) --- src/gui/DatabaseOpenWidget.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/DatabaseOpenWidget.cpp b/src/gui/DatabaseOpenWidget.cpp index aff418627..537dd6de8 100644 --- a/src/gui/DatabaseOpenWidget.cpp +++ b/src/gui/DatabaseOpenWidget.cpp @@ -538,9 +538,6 @@ bool DatabaseOpenWidget::isOnQuickUnlockScreen() */ void DatabaseOpenWidget::resetQuickUnlock() { - if (!isQuickUnlockAvailable()) { - return; - } #if defined(Q_CC_MSVC) getWindowsHello()->reset(m_filename); #elif defined(Q_OS_MACOS)