aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-01-11 19:08:48 +0100
committerFelix Queißner <felix@ib-queissner.de>2021-01-11 20:29:21 +0100
commit3a5b99104288d292dc3ab2935617268f335cd455 (patch)
tree46d85f3073cdfdc730add8b28262f40b8984e920 /src/browsertab.cpp
parentdb0202cc36512f30c7a20068834d37bf8e6490a3 (diff)
Replace history on redirect
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index ef3bb48..1682069 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -883,6 +883,7 @@ void BrowserTab::on_redirected(QUrl uri, bool is_permanent)
redirection_count += 1;
this->current_location = uri;
this->setUrlBarText(uri.toString(QUrl::FullyEncoded));
+ this->history.replaceUrl(this->current_history_index.row(), uri);
}
else
{