[Bug 73025] expand text (ctrl+J) crashes kdevelop

Jens Dagerbo jens.dagerbo at swipnet.se
Tue Jan 20 19:31:02 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=73025      




------- Additional Comments From jens.dagerbo at swipnet.se  2004-01-20 19:30 -------
Subject: kdevelop/parts/abbrev

CVS commit by dagerbo: 

Quck fix for bug 73025.

CCMAIL: 73025 at 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;




More information about the KDevelop-devel mailing list