Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6a920
)
ide: Fix to update project file dialog directory when adding project to the workspace
author
Jerome St-Louis
<jerome@ecere.com>
Mon, 21 Nov 2011 17:34:56 +0000
(12:34 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Mon, 21 Nov 2011 17:34:56 +0000
(12:34 -0500)
ide/src/ide.ec
patch
|
blob
|
history
diff --git
a/ide/src/ide.ec
b/ide/src/ide.ec
index
7d105c7
..
7281a2e
100644
(file)
--- a/
ide/src/ide.ec
+++ b/
ide/src/ide.ec
@@
-1667,6
+1667,13
@@
class IDE : Window
workspace.Save();
findInFilesDialog.AddProjectItem(prj);
projectView.ProjectUpdateMakefileForAllConfigs(prj, true, true);
+
+ {
+ char location[MAX_LOCATION];
+ StripLastDirectory(prj.topNode.path, location);
+ ChangeProjectFileDialogDirectory(location);
+ }
+
// projectView is associated with the main project and not with the one just added but
return projectView; // just to let the caller know something was opened
}