[Bug 61627] incorrenct target in choosetargetdialog of automake manager

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Fri Jul 25 12:03:04 UTC 2003


------- 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=61627     
amilcar at ida.ing.tu-bs.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From amilcar at ida.ing.tu-bs.de  2003-07-25 12:02 -------
Subject: kdevelop/parts/autoproject

CVS commit by aclu: 

Fix for [Bug 61627] incorrenct target in choosetargetdialog of automake manager
Changing back to active target after another target was selected in "Choose Target"-dialog causes the file(s) to be added in the wrong target.

Thanks to  Simo <sika in iwn.fi> for the patch
CCMAIL: 61627-done at bugs.kde.org

PS. Simo next time attach a diff file because I had no clue which file should I patch ;-)


  M +5 -0      choosetargetdialog.cpp   1.12


--- kdevelop/parts/autoproject/choosetargetdialog.cpp  #1.11:1.12
@@ -247,4 +247,9 @@ void ChooseTargetDialog::slotChooseTarge
 void ChooseTargetDialog::accept ()
 {
+        if ( activeTargetRadioButton->isChecked() )
+        {
+                m_choosenTarget = m_widget->activeTarget();
+                m_choosenSubproject = m_widget->activeSubproject();
+        }
         if ( !m_choosenSubproject || !m_choosenTarget )
                 return;




More information about the KDevelop-devel mailing list