diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-08-03 16:49:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-08-03 16:49:33 (GMT) |
commit | f4bab88acea24b261d85d25359c73cbb49869c5f (patch) | |
tree | 947221d2f202d586f7f386c57472cc941980963f /addon | |
parent | d7bf5675c4490ac0291cf1795b7499f2047d5c58 (diff) | |
download | Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.zip Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.tar.gz Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.tar.bz2 |
Release-1.3.8-20040803
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 9462296..7060242 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -850,7 +850,7 @@ void MainWidget::launchWizard() // step1 wizard.setProjectName(Config_getString("PROJECT_NAME")); wizard.setProjectNumber(Config_getString("PROJECT_NUMBER")); - if (Config_getList("INPUT").count()==1) + if (Config_getList("INPUT").count()>0) { QString dirName=Config_getList("INPUT").getFirst(); QFileInfo fi(dirName); @@ -1109,6 +1109,8 @@ void MainWidget::loadConfigFile() if (!fn.isEmpty()) { loadConfigFromFile(fn); + // set current dir to where the config file is located + QDir::setCurrent(QFileInfo(fn).dirPath(TRUE)); } } |