Skip to content

Commit

Permalink
fix cancel not called when no user confirmation is required
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKiaru committed Apr 10, 2022
1 parent d361dc6 commit 4e17b61
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
if (userconfirmation == JOptionPane.YES_OPTION) {
selectedTask.cancel("User cancellation (table task)");
}
} else {
selectedTask.cancel("User cancellation (table task)");
}
}
}
Expand Down

0 comments on commit 4e17b61

Please sign in to comment.