Patch #1405 2006-08-26 01:44

indrekis

Fix of the subtle bug in "Virtual Targets dialog"/edit
Download
1405-Fix_of_the_sub.patch (518 bytes)
Category
Application::Bugfix
Status
Closed
Close date
2006-08-26 08:34
Assigned to
 
Index: sdk/virtualbuildtargetsdlg.cpp
===================================================================
--- sdk/virtualbuildtargetsdlg.cpp    (revision 2900)
+++ sdk/virtualbuildtargetsdlg.cpp    (working copy)
@@ -127,6 +127,9 @@
     if (targetName.IsEmpty())
         return;
 
+    if (lstAliases->GetStringSelection() == targetName)
+        return;
+
     if (lstAliases->FindString(targetName) != wxNOT_FOUND)
     {
         cbMessageBox(_("A virtual build target with this name already exists in this project!"),
mandrav 2006-08-26 08:34

Already fixed, thanks.