Fix refresh after renaming imported function (#1828)

This commit is contained in:
Wesley King 2019-10-09 01:46:48 -04:00 committed by Itay Cohen
parent 1d4ee2f86c
commit f743b5ed55

View File

@ -810,7 +810,7 @@ void DisassemblyContextMenu::on_actionRenameUsedHere_triggered()
if (!newName.isEmpty()) {
Core()->cmd("an " + newName + " @ " + QString::number(offset));
if (type == ThingUsedHere::Type::Address || type == ThingUsedHere::Type::Address) {
if (type == ThingUsedHere::Type::Address || type == ThingUsedHere::Type::Flag) {
Core()->triggerFlagsChanged();
} else if (type == ThingUsedHere::Type::Var) {
Core()->triggerVarsChanged();