summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/doxywizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-rw-r--r--addon/doxywizard/doxywizard.cpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index 9cbd414..35755ce 100644
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -1103,10 +1103,14 @@ void MainWidget::launchWizard()
break;
}
#if defined(Q_OS_MACX)
- if (Config_getBool("HAVE_DOT"))
+ if (Config_getString("DOT_PATH").isEmpty())
{
setDotPath();
}
+ if (Config_getString("MSCGEN_PATH").isEmpty())
+ {
+ setMscgenPath();
+ }
#endif
setConfigSaved(FALSE);
}
@@ -1142,6 +1146,18 @@ void MainWidget::loadConfigFromFile(const QString &fn)
addRecentFile(fn);
m_workingDir->setText(QFileInfo(fn).dirPath(TRUE));
m_configFileName = fn;
+#if defined(Q_OS_MACX)
+ if (Config_getString("DOT_PATH").isEmpty())
+ {
+ setDotPath();
+ setConfigSaved(FALSE);
+ }
+ if (Config_getString("MSCGEN_PATH").isEmpty())
+ {
+ setMscgenPath();
+ setConfigSaved(FALSE);
+ }
+#endif
statusBar()->message("New configuration loaded",messageTimeout);
}
}
@@ -1228,6 +1244,7 @@ void MainWidget::resetConfig()
Config::instance()->init();
#if defined(Q_OS_MACX)
setDotPath();
+ setMscgenPath();
#endif
m_configFileName = "";