projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix impossible action duplication: don't check for duplicate action name
[claws.git]
/
src
/
prefs_actions.c
diff --git
a/src/prefs_actions.c
b/src/prefs_actions.c
index 6b232d99a615b31a1034478bfe723cd641a5bd20..eecde9babab998c587399d6ba531b8856dde0d85 100644
(file)
--- a/
src/prefs_actions.c
+++ b/
src/prefs_actions.c
@@
-611,12
+611,6
@@
static gint prefs_actions_clist_set_row(gint row)
return -1;
}
return -1;
}
- action_nb = prefs_actions_find_by_name(entry_text);
- if ((action_nb != -1) && ((row == -1) || (row != action_nb + 1))) {
- alertpanel_error(_("There is an action with this name already."));
- return -1;
- }
-
strncpy(action, entry_text, PREFSBUFSIZE - 1);
while (strstr(action, "//")) {
strncpy(action, entry_text, PREFSBUFSIZE - 1);
while (strstr(action, "//")) {