Skip to content

Commit ccb68b5

Browse files
mgallienbackportbot[bot]
authored andcommitted
fix(e2ee): ensure PIN input dialog is top most window
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
1 parent 5e231ac commit ccb68b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libsync/clientsideencryption.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,8 @@ void ClientSideEncryption::initializeHardwareTokenEncryption(QWidget *settingsDi
11931193
tr("Enter Certificate USB Token PIN:"),
11941194
QLineEdit::Password,
11951195
{},
1196-
&ok);
1196+
&ok,
1197+
Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
11971198
if (!ok || newPin.isEmpty()) {
11981199
qCWarning(lcCse()) << "an USER pin is required";
11991200

0 commit comments

Comments
 (0)