Commit 8ea3fa95 authored by Stéphane Albert's avatar Stéphane Albert

BUG: MANTIS-1256: Disabled delete-all layers button when layer-stack is cleared.

parent ee8232f7
......@@ -350,9 +350,15 @@ LayerStackWidget
{
assert( m_UI!=NULL );
assert( m_UI->deleteButton!=NULL );
m_UI->deleteButton->setEnabled( enabled );
assert( m_UI->deleteAllButton!=NULL );
m_UI->deleteAllButton->setEnabled( enabled );
}
/*******************************************************************************/
......
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