Skip to content
Snippets Groups Projects
Commit 0c8e26f3 authored by Dennis Baurichter's avatar Dennis Baurichter
Browse files

rename: Ease up setting a different index

To set index "2" you only have to enter "2" and not "#2" (which wasn't
indicated anywhere in the tool).
parent d46a1add
No related branches found
No related tags found
No related merge requests found
......@@ -608,8 +608,8 @@ class RenameActivity:
s.date=s.query
s.clear_query()
return True
elif re.fullmatch("#[1-9][0-9]*",s.query):
s.index=int(s.query[1:])
elif re.fullmatch("[1-9][0-9]*",s.query):
s.index=int(s.query)
s.clear_query()
return True
elif len(s.query)>0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment