Commit 61bd039b authored by Dawit Alemayehu's avatar Dawit Alemayehu
Browse files

Show the correct url when switching tabs after clearing Konqueror's location

bar using the clear button in the line edit or the backspace key.

BUG: 187891
FIXED-IN: 4.6.5
REVIEW: 101558

(cherry picked from commit e8abdb8b)
parent 56299fa9
......@@ -2044,6 +2044,11 @@ void KonqMainWindow::slotPartActivated(KParts::Part *part)
//kDebug() << "setting location bar url to"
// << m_currentView->locationBarURL() << "m_currentView=" << m_currentView;
// Make sure the location bar gets updated when the view(tab) is changed.
if (oldView != newView) {
m_combo->lineEdit()->setModified(false);
}
m_currentView->setLocationBarURL( m_currentView->locationBarURL() );
updateToolBarActions();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment