summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-03-04 21:11:18 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-03-04 21:11:18 (GMT)
commit2ae3ed6594f3e4814b3b351eecc63b5e0be1bd37 (patch)
treeade91348b3d7d8806a09659790655b697c1f4eea /addon
parent5f3d8499c05e9eb512b72d296073041ac4da6f4d (diff)
downloadDoxygen-2ae3ed6594f3e4814b3b351eecc63b5e0be1bd37.zip
Doxygen-2ae3ed6594f3e4814b3b351eecc63b5e0be1bd37.tar.gz
Doxygen-2ae3ed6594f3e4814b3b351eecc63b5e0be1bd37.tar.bz2
Release-1.5.8-20090304
Diffstat (limited to 'addon')
-rw-r--r--addon/doxywizard/expert.cpp2
-rw-r--r--addon/doxywizard/inputstring.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxywizard/expert.cpp b/addon/doxywizard/expert.cpp
index 1e0adb1..7c16c28 100644
--- a/addon/doxywizard/expert.cpp
+++ b/addon/doxywizard/expert.cpp
@@ -498,7 +498,7 @@ static QString getStringOption(
bool Expert::htmlOutputPresent(const QString &workingDir) const
{
bool generateHtml = getBoolOption(m_options,QString::fromAscii("GENERATE_HTML"));
- if (!generateHtml) return false;
+ if (!generateHtml || workingDir.isEmpty()) return false;
QString indexFile = getHtmlOutputIndex(workingDir);
QFileInfo fi(indexFile);
return fi.exists() && fi.isFile();
diff --git a/addon/doxywizard/inputstring.cpp b/addon/doxywizard/inputstring.cpp
index d3441c1..7b0aea0 100644
--- a/addon/doxywizard/inputstring.cpp
+++ b/addon/doxywizard/inputstring.cpp
@@ -101,7 +101,7 @@ void InputString::setValue(const QString &s)
{
m_lab->setText(QString::fromAscii("<qt><font color='red'>")+m_id+QString::fromAscii("</font></qt>"));
}
- if (m_le) m_le->setText( m_str );
+ if (m_le && m_le->text()!=m_str) m_le->setText( m_str );
emit changed();
}
}