njårdshome

extragear/utils/krusader/krusader/Panel

2010 March 11 05:03 UTC


SVN commit 1101846 by janlepper:

ListPanelFunc: if refresh has failed, don't focus the origin bar if the panel is not active

M +2 -1 panelfunc.cpp


--- trunk/extragear/utils/krusader/krusader/Panel/panelfunc.cpp #1101845:1101846
@@ -248,7 +248,8 @@
// put the attempted url in the origin bar and let the user change it
if (refreshFailed) {
panel->origin->setUrl(urlIn.prettyUrl());
- panel->origin->setFocus();
+ if(panel == ACTIVE_PANEL)
+ panel->origin->setFocus();
}

refreshActions();