-
Notifications
You must be signed in to change notification settings - Fork 285
add DuplicateCustomAction( #1632) #1634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
2859641
to
9d70904
Compare
NOTE: A similar request (for a way to Clone a Custom Action) was recently brought up in this Discussion: #1479 |
9d70904
to
897329c
Compare
f325aaf
to
6511d15
Compare
@love-linger, @heartacker - This is an excellent (and very simple / straight-forward) feature which deserves merging ASAP. However, it's so great that we should have the same feature for |
{ | ||
var act = new CustomAction(baseAct) | ||
{ | ||
Name = baseAct.Name + "(Duplicated)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest something like this (to match Windows Explorer behaviour), but use localizable string "{0} - Copy"
:
Name = baseAct.Name + "(Duplicated)" | |
Name = baseAct.Name + " - Copy" |
|
||
var action = new Models.CustomAction(SelectedCustomAction) | ||
{ | ||
Name = SelectedCustomAction.Name + "(Duplicated)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
No description provided.