mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 23:10:47 +08:00
GP-1429 - fixed bug that caused field to get renamed when not choosing a
new type Closes #3483
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ public class RetypeFieldAction extends AbstractDecompilerAction {
|
||||
}
|
||||
|
||||
DataType dataType = chooseDataType(tool, program, originalDataType);
|
||||
if (dataType == null) {
|
||||
if (dataType == null || dataType.isEquivalent(originalDataType)) {
|
||||
return; // cancelled
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user