Summary: | switching docks when no file is loaded crash kdevelop | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | tnagy <tnagy256> |
Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | simon, sylvain.joyeux |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
tnagy
2004-01-20 18:31:45 UTC
Subject: kdelibs/kmdi CVS commit by dagerbo: Quck fix for bug: 73045 CCMAIL: 73045-done@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(); Should be backported to KDE_3_2_BRANCH. *** Bug 70325 has been marked as a duplicate of this bug. *** Subject: KDE_3_2_BRANCH: kdelibs/kmdi CVS commit by lukas: backport for crash in #73045 CCMAIL: 73045@bugs.kde.org M +101 -101 kmdidockcontainer.cpp 1.54.2.1 --- kdelibs/kmdi/kmdidockcontainer.cpp #1.54:1.54.2.1 @@ -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(); |