Stop backend_startup_project from erasing the last project in a VS solution
if it is not the specified project.
This commit is contained in:
parent
bfa0c61877
commit
39856daf9a
|
@ -0,0 +1,4 @@
|
|||
## backend_startup_project
|
||||
|
||||
`backend_startup_project` will no longer erase the last project in a VS
|
||||
solution if it is not the specified project.
|
|
@ -467,7 +467,7 @@ class Vs2010Backend(backends.Backend):
|
|||
|
||||
# Put the startup project first in the project list
|
||||
if startup_idx:
|
||||
projlist = [projlist[startup_idx]] + projlist[0:startup_idx] + projlist[startup_idx + 1:-1]
|
||||
projlist.insert(0, projlist.pop(startup_idx))
|
||||
|
||||
return projlist
|
||||
|
||||
|
|
Loading…
Reference in New Issue