Version: (using KDE Devel) Installed from: Compiled sources OS: Linux Create or open a project, edit a file or two, close the project. Now try "view"->"expand text" or ctrl+j (crash).
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.