Skip to content

Commit

Permalink
ListingView: Renamed action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax89 committed May 16, 2021
1 parent 5cfe3a1 commit 063025e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LibREDasm
4 changes: 2 additions & 2 deletions widgets/listing/listingview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void ListingView::adjustActions()
labelflags & AddressFlags_Function);


actions[ListingView::Action_ShowHexDump]->setText(QString("Show %1 in Hex Dump").arg(labelname));
actions[ListingView::Action_ShowHexDump]->setText(QString("Hex Dump %1").arg(labelname));
actions[ListingView::Action_ShowHexDump]->setVisible(labelflags && !HAS_FLAG(&symbolsegment, SegmentFlags_Bss));

actions[ListingView::Action_XRefs]->setText(QString("Cross Reference %1").arg(labelname));
Expand Down Expand Up @@ -282,7 +282,7 @@ QMenu* ListingView::createActions(ISurface* surface)
if(surface->currentLabel(&address).size()) surface->goTo(address);
});

actions[ListingView::Action_ShowHexDump] = contextmenu->addAction("Show in Hex Dump", this, [&, surface]() {
actions[ListingView::Action_ShowHexDump] = contextmenu->addAction("Hex Dump", this, [&, surface]() {
rd_address address;
if(!surface->currentLabel(&address).size()) return;
surface->goTo(address);
Expand Down

0 comments on commit 063025e

Please sign in to comment.