mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-26 22:21:52 +00:00
GP-1660 - fixed Swing thread access issue; fixed improper test names
This commit is contained in:
parent
b026a5f53a
commit
40248f7157
@ -60,8 +60,7 @@ import ghidra.program.model.address.AddressSetView;
|
||||
import ghidra.program.model.data.*;
|
||||
import ghidra.program.model.listing.DataTypeArchive;
|
||||
import ghidra.program.model.listing.Program;
|
||||
import ghidra.util.HelpLocation;
|
||||
import ghidra.util.Msg;
|
||||
import ghidra.util.*;
|
||||
import ghidra.util.datastruct.LRUMap;
|
||||
import ghidra.util.task.TaskLauncher;
|
||||
|
||||
@ -612,9 +611,11 @@ public class DataTypeManagerPlugin extends ProgramPlugin
|
||||
|
||||
@Override
|
||||
public void setDataTypeSelected(DataType dataType) {
|
||||
if (provider.isVisible()) {
|
||||
provider.setDataTypeSelected(dataType);
|
||||
}
|
||||
Swing.runIfSwingOrRunLater(() -> {
|
||||
if (provider.isVisible()) {
|
||||
provider.setDataTypeSelected(dataType);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user