Fix raising Update Entry messagebox

This commit is contained in:
varjolintu 2023-09-18 10:20:58 +03:00 committed by Jonathan White
parent 8f45431ecb
commit 1a81f79df7

View File

@ -701,8 +701,7 @@ bool BrowserService::updateEntry(const EntryParameters& entryParameters, const Q
tr("Do you want to update the information in %1 - %2?") tr("Do you want to update the information in %1 - %2?")
.arg(QUrl(entryParameters.siteUrl).host(), username), .arg(QUrl(entryParameters.siteUrl).host(), username),
MessageBox::Save | MessageBox::Cancel, MessageBox::Save | MessageBox::Cancel,
MessageBox::Cancel, MessageBox::Cancel);
MessageBox::Raise);
} }
if (browserSettings()->alwaysAllowUpdate() || dialogResult == MessageBox::Save) { if (browserSettings()->alwaysAllowUpdate() || dialogResult == MessageBox::Save) {