Commit 488ebc9b authored by Locatelli's avatar Locatelli
Browse files

enable and disable buttons

parent 2d37dd4b
......@@ -141,6 +141,8 @@ void QtColorMapWidget::enableActions() {
m_ColorMapComboBox->setEnabled(true);
m_MinLevelRangeSlider->setEnabled(true);
m_MaxLevelRangeSlider->setEnabled(true);
m_AutoAdjust->setEnabled(true);
m_Reset->setEnabled(true);
}
/*
......@@ -150,6 +152,8 @@ void QtColorMapWidget::disableActions() {
m_ColorMapComboBox->setEnabled(false);
m_MinLevelRangeSlider->setEnabled(false);
m_MaxLevelRangeSlider->setEnabled(false);
m_AutoAdjust->setEnabled(false);
m_Reset->setEnabled(false);
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment