Commit 0d7d9b04 authored by Craig Watson's avatar Craig Watson

Don't show the properties page (in library pane) for interactivities, applications and animations

parent 881a1d50
...@@ -174,7 +174,12 @@ void UBFeaturesWidget::currentSelected(const QModelIndex &current) ...@@ -174,7 +174,12 @@ void UBFeaturesWidget::currentSelected(const QModelIndex &current)
// } else if (feature.getType() == FEATURE_SEARCH) { // } else if (feature.getType() == FEATURE_SEARCH) {
// centralWidget->showElement(feature, UBFeaturesCentralWidget::FeaturesWebView); // centralWidget->showElement(feature, UBFeaturesCentralWidget::FeaturesWebView);
} else { }
// Don't show the properties page for interactivities, applications and animations
else if (feature.getType() != FEATURE_INTERACTIVE
&& feature.getType() != FEATURE_INTERNAL
&& feature.getType() != FEATURE_FLASH)
{
centralWidget->showElement(feature, UBFeaturesCentralWidget::FeaturePropertiesList); centralWidget->showElement(feature, UBFeaturesCentralWidget::FeaturePropertiesList);
mActionBar->setCurrentState( IN_PROPERTIES ); mActionBar->setCurrentState( IN_PROPERTIES );
} }
......
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