Commit 6794f199 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - only modules can be deleted now.

parent 9d1f8162
......@@ -672,7 +672,6 @@ boost::shared_ptr< WRMROIRepresentation > WQtDatasetBrowser::getFirstRoiInSelect
void WQtDatasetBrowser::deleteModuleTreeItem()
{
// TODO(ebaum): test whether the item is a module/dataset
if ( m_moduleTreeWidget->selectedItems().count() > 0 )
{
if ( ( m_moduleTreeWidget->selectedItems().at( 0 )->type() == MODULE ) ||
......
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