Skip to content

Commit

Permalink
Fix "paste" option remaining grayed out after Copy/Cut token
Browse files Browse the repository at this point in the history
- Fix "Paste" menu not getting updated after performing the Copy/Cut action from popup menu
- Close RPTools#621
  • Loading branch information
Merudo committed Aug 28, 2019
1 parent a1f4d50 commit 6b202a0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ public CopyAction() {

public void actionPerformed(ActionEvent e) {
AppActions.copyTokens(selectedTokenSet);
AppActions.updateActions();
}
}

Expand All @@ -457,6 +458,7 @@ public CutAction() {

public void actionPerformed(ActionEvent e) {
AppActions.cutTokens(renderer.getZone(), selectedTokenSet);
AppActions.updateActions();
}
}

Expand Down

0 comments on commit 6b202a0

Please sign in to comment.