Skip to content

Commit

Permalink
#75746 Filter should be enabled in chart builder for nest cube query
Browse files Browse the repository at this point in the history
case
  • Loading branch information
Yulin Wang committed Oct 14, 2014
1 parent 2f9e511 commit e7fd94d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ private void setEnabledForButtons( )
{
if ( isCubeMode( ) )
{
boolean inheritXTab = getDataServiceProvider( ).checkState( IDataServiceProvider.INHERIT_CUBE );
// Inherit xtab means container has cube but chart has no cube
boolean inheritXTab = getDataServiceProvider( ).checkState( IDataServiceProvider.INHERIT_CUBE )
&& !getDataServiceProvider( ).checkState( IDataServiceProvider.HAS_CUBE );
if ( inheritXTab )
{
btnFilters.setEnabled( false );
Expand Down

0 comments on commit e7fd94d

Please sign in to comment.