Skip to content

Commit

Permalink
Proper groups properties editing
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Pozhidaev committed Jul 28, 2018
1 parent eda609a commit 8fafadd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/luwrain/app/news/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ private boolean showGroupProps()
return true;
}
wrapper.group.setOrderIndex(orderIndex);
final List<String> urls = new LinkedList();
for(String s: getMultilineEditTextVec())
if (!s.trim().isEmpty())
urls.add(s.trim());
wrapper.group.setUrls(urls.toArray(new String[urls.size()]));
groupsArea.refresh();
layout.closeTempLayout();
return true;
Expand Down

0 comments on commit 8fafadd

Please sign in to comment.