Skip to content

Shortcut for "Rename" operates on wrong line / address. #2631

@Semnodime

Description

@Semnodime

Environment information

  • Operating System: linuxmint 20.1
  • Cutter version: 1.12.0
  • File format: any
  • Arch: any
  • Type: any

Describe the bug
Shortcut for "Rename" operates on wrong line / address after navigating via the goto bar.

To Reproduce
Steps to reproduce the behavior:

  1. Select top most line of function in disassembly tab
  2. Rename via shortcut N
  3. Press g, type address of another function start, press Enter
  4. Press N to rename this function.
  5. Observe the dialog wrongly referencing the old address

Expected behavior
Dialog for renaming the currently selected address.

Screenshots
Notice how (after the goto via the navigation bar) the right address is selected, but the shortcut / dialog references the old address.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions