mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-723 - Fixed bad parent of confirmation dialog
This commit is contained in:
parent
98d0cd9034
commit
04939dab09
1 changed files with 9 additions and 9 deletions
|
@ -106,7 +106,7 @@ public class TaskMonitorComponent extends JPanel implements TaskMonitor {
|
|||
shouldCancelRunnable = () -> {
|
||||
int currentTaskID = taskID.get();
|
||||
|
||||
boolean userSaysYes = OptionDialog.showYesNoDialog(TaskMonitorComponent.this, "Cancel?",
|
||||
boolean userSaysYes = OptionDialog.showYesNoDialog(null, "Cancel?",
|
||||
"Do you really want to cancel " + getTaskName() + "?") == OptionDialog.OPTION_ONE;
|
||||
|
||||
if (userSaysYes && currentTaskID == taskID.get()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue