Skip to content
Snippets Groups Projects
Commit 8eea5dea authored by gpawel's avatar gpawel
Browse files

bugfix: cancel button works now in the sample chooser dialog

SVN: 24767
parent c4d72f02
No related branches found
No related tags found
No related merge requests found
...@@ -152,6 +152,11 @@ public class SampleChooserButton extends Button implements ...@@ -152,6 +152,11 @@ public class SampleChooserButton extends Button implements
public void setChosenEntities(List<TableModelRowWithObject<Sample>> entities) public void setChosenEntities(List<TableModelRowWithObject<Sample>> entities)
{ {
if (entities == null)
{
return;
}
CommaSeparatedListBuilder builder = new CommaSeparatedListBuilder(); CommaSeparatedListBuilder builder = new CommaSeparatedListBuilder();
for (TableModelRowWithObject<Sample> row : entities) for (TableModelRowWithObject<Sample> row : entities)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment