[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdevelop/3.4/parts/astyle
From:       Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date:       2006-08-22 13:01:55
Message-ID: 1156251715.014686.6419.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 575895 by dagerbo:

make sure to enable the reformat action if there is a fitting active file when the \
plugin is loaded

 M  +3 -0      astyle_part.cpp  


--- branches/kdevelop/3.4/parts/astyle/astyle_part.cpp #575894:575895
@@ -47,6 +47,9 @@
   connect(core(), SIGNAL(configWidget(KDialogBase*)), this, \
SLOT(configWidget(KDialogBase*)));  
   connect(partController(), SIGNAL(activePartChanged(KParts::Part*)), this, \
SLOT(activePartChanged(KParts::Part*))); +
+  // maybe there is a file open already
+  activePartChanged( partController()->activePart() );
 }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic