- myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+ myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );
for ( int i = 0, n = theSets.count(); i < n; i++ ) {
aHypoSetPopup->addAction( theSets[ i ] );
}
- myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+ myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );
}
//================================================================================