mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Don't show "Resend form" dialog when app is starting.
This commit is contained in:
parent
1f2b0eef87
commit
84dc48ef67
@ -507,6 +507,10 @@ bool WebPage::acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest &r
|
||||
}
|
||||
|
||||
if (type == QWebPage::NavigationTypeFormResubmitted) {
|
||||
// Don't show this dialog if app is still starting
|
||||
if (!view()->isVisible()) {
|
||||
return false;
|
||||
}
|
||||
QString message = tr("To show this page, QupZilla must resend request which do it again \n"
|
||||
"(like searching on making an shopping, which has been already done.)");
|
||||
bool result = (QMessageBox::question(view(), tr("Confirm form resubmission"),
|
||||
|
Loading…
Reference in New Issue
Block a user