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

List:       kde-commits
Subject:    kdevelop/parts/autoproject
From:       Amilcar do Carmo Lucas <amilcar () ida ! ing ! tu-bs ! de>
Date:       2003-07-25 10:02:24
[Download RAW message or body]

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@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;


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

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