diff options
author | albert-github <albert.tests@gmail.com> | 2018-02-27 17:28:40 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-02-27 17:28:40 (GMT) |
commit | 8bf975ea2861def50f9b7d4cca0fb4002c991ec0 (patch) | |
tree | 1d2b76075bfda7b8fc95939e37174ae5703fdfd4 /addon | |
parent | b6f01ff09b17e5c2288f2418ef0a8f074456c357 (diff) | |
download | Doxygen-8bf975ea2861def50f9b7d4cca0fb4002c991ec0.zip Doxygen-8bf975ea2861def50f9b7d4cca0fb4002c991ec0.tar.gz Doxygen-8bf975ea2861def50f9b7d4cca0fb4002c991ec0.tar.bz2 |
Bug 788873 - Disabled controls when `HAVE_DOT` is already set to `YES`
Explicitly call the routine to set the status of the sub list.
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/wizard.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addon/doxywizard/wizard.cpp b/addon/doxywizard/wizard.cpp index b320aaa..ae8fa61 100644 --- a/addon/doxywizard/wizard.cpp +++ b/addon/doxywizard/wizard.cpp @@ -1210,18 +1210,23 @@ void Step4::setCallerGraphEnabled(int state) void Step4::init() { + int id = 0; if (getBoolOption(m_modelData,STR_HAVE_DOT)) { m_diagramModeGroup->button(2)->setChecked(true); // Dot + id = 2; } else if (getBoolOption(m_modelData,STR_CLASS_DIAGRAMS)) { m_diagramModeGroup->button(1)->setChecked(true); // Builtin diagrams + id = 1; } else { m_diagramModeGroup->button(0)->setChecked(true); // no diagrams + id = 0; } + m_dotGroup->setEnabled(id==2); m_dotClass->setChecked(getBoolOption(m_modelData,STR_CLASS_GRAPH)); m_dotCollaboration->setChecked(getBoolOption(m_modelData,STR_COLLABORATION_GRAPH)); m_dotInheritance->setChecked(getBoolOption(m_modelData,STR_GRAPHICAL_HIERARCHY)); |