Skip to content

Commit

Permalink
Fix: Globals Widget Edit and Delete Actions (#3341)
Browse files Browse the repository at this point in the history
closes #3340
  • Loading branch information
Zack08110 committed May 17, 2024
1 parent 7664367 commit 3e50e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/GlobalsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void GlobalsWidget::editGlobal()
return;
}

RVA globalVariableAddress = globalsModel->address(index);
RVA globalVariableAddress = globalsProxyModel->address(index);

GlobalVariableDialog dialog(globalVariableAddress, parentWidget());
dialog.exec();
Expand All @@ -142,7 +142,7 @@ void GlobalsWidget::deleteGlobal()
return;
}

RVA globalVariableAddress = globalsModel->address(index);
RVA globalVariableAddress = globalsProxyModel->address(index);
Core()->delGlobalVariable(globalVariableAddress);
}

Expand Down

0 comments on commit 3e50e5f

Please sign in to comment.