DolphinViewContainer: set searchPath on redirect, check for connected urlNavigator
This fixes a dolphin crash if tab with a search box open gets its path changed while its not active.
For example, if user has two tabs foo
and foo/bar
. foo/bar
tab has
search open. User changes to foo
tab, and renames bar
to baz
.
This would cause a crash, since there is no connected urlNavigator to this view.
I also noticed the searchPath is still the old directory.
This patch adds a guard for the m_urlNavigatorConnected->setLocation, and makes sure teh searchPath is set to the correct folder.
Edited by Akseli Lahtinen