Skip to content

Commit

Permalink
give a default name of "loc_########" so the address shows up while e…
Browse files Browse the repository at this point in the history
…diting (in case you want to keep it there). displaying always defaults to that naming convention. (vivisect#630)
  • Loading branch information
atlas0fd00m authored Oct 3, 2023
1 parent cfae36f commit e6246ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vivisect/qt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def setVaName(self, va, parent=None):

curname = self.vw.getName(va)
if curname is None:
curname = ''
curname = 'loc_%.8x' % va

name, ok = QInputDialog.getText(parent, 'Enter...', 'Name', text=curname)
if ok:
Expand Down

0 comments on commit e6246ee

Please sign in to comment.