Summary: | expand text (ctrl+J) crashes kdevelop | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | tnagy <tnagy256> |
Component: | abbreviation plugin | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch |
Description
tnagy
2004-01-20 13:16:25 UTC
Created attachment 4253 [details]
patch
This could be done much nicer, but hardly with less code.. :)
Subject: kdevelop/parts/abbrev CVS commit by dagerbo: Quck fix for bug 73025. CCMAIL: 73025@bugs.kde.org M +4 -0 abbrevpart.cpp 1.42 --- kdevelop/parts/abbrev/abbrevpart.cpp #1.41:1.42 @@ -470,5 +470,9 @@ void AbbrevPart::slotActivePartChanged( if( !doc || !part->widget() || doc == docIface ) + { + actionCollection()->action( "edit_expandtext" )->setEnabled( false ); + actionCollection()->action( "edit_expandabbrev" )->setEnabled( false ); return; + } docIface = doc; Fixed in HEAD. Should be backported to KDE_3_2_BRANCH. |