Skip to content

Commit

Permalink
Fix: Globals Widget Edit and Delete Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack08110 committed May 16, 2024
1 parent 7664367 commit 7b1815b
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 7b1815b

Please sign in to comment.