mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 11:31:43 +00:00
GP-4919: Improving Load Libraries results dialog for programs with no
libraries
This commit is contained in:
parent
22f95a5eba
commit
71d378655e
@ -80,11 +80,16 @@ public class LoadLibrariesOptionsDialog extends OptionsDialog {
|
||||
|
||||
// Display results
|
||||
String importMessages = messageLog.toString();
|
||||
if (!Loader.loggingDisabled && !importMessages.isEmpty()) {
|
||||
Msg.info(ImporterUtilities.class, TITLE + ":\n" + importMessages);
|
||||
if (!importMessages.isEmpty()) {
|
||||
if (!Loader.loggingDisabled) {
|
||||
Msg.info(ImporterUtilities.class, TITLE + ":\n" + importMessages);
|
||||
}
|
||||
MultiLineMessageDialog.showModalMessageDialog(null, TITLE, "Results",
|
||||
importMessages, MultiLineMessageDialog.INFORMATION_MESSAGE);
|
||||
}
|
||||
else {
|
||||
Msg.showInfo(this, null, TITLE, "The program has no libraries.");
|
||||
}
|
||||
MultiLineMessageDialog.showModalMessageDialog(null, TITLE, "Results",
|
||||
importMessages, MultiLineMessageDialog.INFORMATION_MESSAGE);
|
||||
|
||||
loadResults.release(consumer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user