Skip to content

Commit

Permalink
Refs #11666 set unbin button disabled for unbinned MDEvent source
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonPiccardoSelg committed Apr 30, 2015
1 parent b5b2dc4 commit 0d1ff09
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -337,7 +337,7 @@ void StandardView::activeSourceChangeListener(pqPipelineSource* source)
else if (workspaceType.find("MDEW Source") != std::string::npos)

This comment has been minimized.

Copy link
@OwenArnold

OwenArnold May 1, 2015

Contributor

For the cases here, could you include some comments about exactly what they are checking. I understand this, but other developers may not. For example, you cannot have an unbin option in this case because we are first checking that we have an unfiltered MDEvent workspace as input. Do the same with the other cases.

{
this->allowRebinningOptions(true);
this->allowUnbinOption(true);
this->allowUnbinOption(false);
}
else
{
Expand Down

0 comments on commit 0d1ff09

Please sign in to comment.