Skip to content

Sync the address passed in the signal currentAddressChanged() with the addressOffset? #185

@bobhairgrove

Description

@bobhairgrove

In the "example" application, the address in the status bar is the "real" address, regardless of whether there is an extra offset added. The address shown on the left of the address area shows the address plus the offset, as intended.

I think this can be easily fixed in qhexedit.cpp by changing the line where the signal is emitted:

229    emit currentAddressChanged(_bPosCurrent + _addressOffset);
                                                  ^^^^^^^^^^^^^^

Would this impact any other code? Or should the application handle this in its own slot connected to that signal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions