Skip to content

Commit

Permalink
corrected incremental naming in insertLink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltan Hubert committed Feb 15, 2022
1 parent 258c837 commit d4355be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions insertLinkCmd.py
Expand Up @@ -153,10 +153,10 @@ def Activated(self):
(rootName,sep,num) = origName.rpartition('_')
if rootName=="":
rootName = origName[:-3]
proposedLinkName = Asm4.nextInstance(rootName,startAtOne=True)
proposedLinkName = Asm4.nextInstance(rootName,startAtOne=False)
# else we take the next instance
else:
proposedLinkName = Asm4.nextInstance(origName)
proposedLinkName = Asm4.nextInstance(origName,startAtOne=False)
# set the proposed name in the entry field
self.linkNameInput.setText( proposedLinkName )

Expand Down

0 comments on commit d4355be

Please sign in to comment.