[Bug 73045] switching docks when no file is loaded crash kdevelop
Jens Dagerbo
jens.dagerbo at swipnet.se
Tue Jan 20 20:17:04 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=73045
jens.dagerbo at swipnet.se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jens.dagerbo at swipnet.se 2004-01-20 20:16 -------
Subject: kdelibs/kmdi
CVS commit by dagerbo:
Quck fix for bug: 73045
CCMAIL: 73045-done at bugs.kde.org
M +101 -101 kmdidockcontainer.cpp 1.55
--- kdelibs/kmdi/kmdidockcontainer.cpp #1.54:1.55
@@ -613,5 +613,5 @@ void KMdiDockContainer::toggle() {
tabClicked(oldtab);
KMdiMainFrm *mainFrm = dynamic_cast<KMdiMainFrm*>(m_mainWin);
- if (mainFrm)
+ if (mainFrm && mainFrm->activeWindow() )
mainFrm->activeWindow()->setFocus();
More information about the KDevelop-devel
mailing list