diff options
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 11bd8f2..ce764e0 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -224,9 +224,13 @@ void MainWindow::updateConfigFileName(const QString &fileName) void MainWindow::loadConfigFromFile(const QString & fileName) { - m_expert->loadConfig(fileName); - m_wizard->refresh(); + // save full path info of original file + QString absFileName = QFileInfo(fileName).absoluteFilePath(); + // updates the current directory updateConfigFileName(fileName); + // open the specified configuration file + m_expert->loadConfig(absFileName); + m_wizard->refresh(); updateLaunchButtonState(); m_modified = false; updateTitle(); |