Changed default directories for:

* Load dataset
 * Import annotations
 * Export annotations
to the correct directories in the current project.
This commit is contained in:
2011-03-07 16:19:45 +00:00
parent ec71cbd7d7
commit ed486ddf2e
4 changed files with 8 additions and 4 deletions

View File

@@ -132,9 +132,11 @@ if __name__ == '__main__':
print "error: project directory not found: %s" % prjroot
print "notice: use the -n option to make a new project"
sys.exit(2)
proj = project.Project(prjroot)
main.project = proj
main.set_application(app)
main.set_projectview(projectview.ProjectView(prjroot))
main.set_projectview(projectview.ProjectView(proj))
app.set_projectview(main.projectview)
app.show()