GUI: refresh graph action
This commit is contained in:
parent
88a0be6606
commit
b0ecacbb5b
|
|
@ -1465,6 +1465,7 @@ void DisassemblerGraphView::setupContextMenu()
|
|||
|
||||
mToggleOverviewAction = makeShortcutAction(DIcon("graph.png"), tr("Toggle &Overview"), SLOT(toggleOverviewSlot()), "ActionGraphToggleOverview");
|
||||
mMenuBuilder->addAction(mToggleOverviewAction);
|
||||
mMenuBuilder->addAction(makeShortcutAction(DIcon("sync.png"), tr("Refresh"), SLOT(loadCurrentGraph()), "ActionGraphRefresh"));
|
||||
}
|
||||
|
||||
void DisassemblerGraphView::followDisassemblerSlot()
|
||||
|
|
|
|||
|
|
@ -249,7 +249,6 @@ public:
|
|||
void show_cur_instr();
|
||||
bool navigate(duint addr);
|
||||
void fontChanged();
|
||||
void loadCurrentGraph();
|
||||
QString getSymbolicName(duint addr);
|
||||
|
||||
public slots:
|
||||
|
|
@ -264,6 +263,7 @@ public slots:
|
|||
void toggleOverviewSlot();
|
||||
void selectionGetSlot(SELECTIONDATA* selection);
|
||||
void tokenizerConfigUpdatedSlot();
|
||||
void loadCurrentGraph();
|
||||
|
||||
private:
|
||||
QString status;
|
||||
|
|
|
|||
|
|
@ -474,6 +474,7 @@ Configuration::Configuration() : QObject(), noMoreMsgbox(false)
|
|||
defaultShortcuts.insert("ActionRefresh", Shortcut(tr("Actions -> Refresh"), "F5"));
|
||||
defaultShortcuts.insert("ActionGraph", Shortcut(tr("Actions -> Graph"), "G"));
|
||||
defaultShortcuts.insert("ActionGraphToggleOverview", Shortcut(tr("Actions -> Graph -> Toggle overview"), "O"));
|
||||
defaultShortcuts.insert("ActionGraphRefresh", Shortcut(tr("Actions -> Graph -> Refresh"), "R"));
|
||||
defaultShortcuts.insert("ActionIncrementx87Stack", Shortcut(tr("Actions -> Increment x87 Stack")));
|
||||
defaultShortcuts.insert("ActionDecrementx87Stack", Shortcut(tr("Actions -> Decrement x87 Stack")));
|
||||
defaultShortcuts.insert("ActionPush", Shortcut(tr("Actions -> Push")));
|
||||
|
|
|
|||
Loading…
Reference in New Issue