diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2011-12-09 13:34:19 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-12-12 13:11:48 +0100 |
commit | b9bcb7250e0614a51026a2b74231d4c03f707e92 (patch) | |
tree | b746fa95ef81e8b0729c03e9d50a82232181eebd /src/plugins/coreplugin/plugindialog.cpp | |
parent | 121e12701f8b5b673b93f8f49046caab504e380d (diff) |
Disable "Error Details" button for disabled plugins.
Task-number: QTCREATORBUG-4191
Change-Id: I88605bc99bc8ca71a2ba4563e88b8ba14e112172
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/coreplugin/plugindialog.cpp')
-rw-r--r-- | src/plugins/coreplugin/plugindialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/coreplugin/plugindialog.cpp b/src/plugins/coreplugin/plugindialog.cpp index 82f4b96197..a4ef4281cf 100644 --- a/src/plugins/coreplugin/plugindialog.cpp +++ b/src/plugins/coreplugin/plugindialog.cpp @@ -113,9 +113,7 @@ void PluginDialog::updateButtons() ExtensionSystem::PluginSpec *selectedSpec = m_view->currentPlugin(); if (selectedSpec) { m_detailsButton->setEnabled(true); - m_errorDetailsButton->setEnabled(selectedSpec->hasError() - || selectedSpec->isDisabledIndirectly() - || !selectedSpec->isEnabled()); + m_errorDetailsButton->setEnabled(selectedSpec->hasError()); } else { m_detailsButton->setEnabled(false); m_errorDetailsButton->setEnabled(false); |