Commit dbf7a1f5 authored by dt's avatar dt
Browse files

Target Selector: paint en/disabled state of add remove button

parent 67cfb7e0
......@@ -89,11 +89,13 @@ void TargetSelector::setCurrentIndex(int index)
void TargetSelector::setAddButtonEnabled(bool enabled)
{
m_addButtonEnabled = enabled;
update();
}
void TargetSelector::setRemoveButtonEnabled(bool enabled)
{
m_removeButtonEnabled = enabled;
update();
}
void TargetSelector::setAddButtonMenu(QMenu *menu)
......
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