Skip to content

Commit

Permalink
#3066 Add the possibility to copy-paste graphical views
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Dec 28, 2024
1 parent f7b34a9 commit c31e1f0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/com/serotonin/mango/util/ViewControllerUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,6 @@ public static View copyAndSaveView(View view, ViewService viewService) {
viewCopy.setId(Common.NEW_ID);
viewCopy.setXid(viewService.generateUniqueXid());
viewCopy.setName(generateCopyName(Common.getBundle(), view.getName(), 250));
/*viewCopy.setViewComponents(view.getViewComponents());
viewCopy.setViewUsers(view.getViewUsers());
viewCopy.setResolution(view.getResolution());
viewCopy.setBackgroundFilename(view.getBackgroundFilename());
viewCopy.setUserId(view.getUserId());
viewCopy.setAnonymousAccess(view.getAnonymousAccess());*/

viewService.saveView(viewCopy);

Expand Down

0 comments on commit c31e1f0

Please sign in to comment.