summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-08-03 16:49:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-08-03 16:49:33 (GMT)
commitf4bab88acea24b261d85d25359c73cbb49869c5f (patch)
tree947221d2f202d586f7f386c57472cc941980963f /addon
parentd7bf5675c4490ac0291cf1795b7499f2047d5c58 (diff)
downloadDoxygen-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.cpp4
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));
}
}