Commit e8abdb8b 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
parent 831d3d15
......@@ -2017,6 +2017,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_currentView->setLocationBarURL( m_currentView->locationBarURL() );
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