Skip to content

Commit

Permalink
removed unnecessary confirmation dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
a-urq committed Mar 19, 2024
1 parent 631fee8 commit d30f4c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified bin/com/ameliaWx/soundingViewer/SoundingFrame.class
Binary file not shown.
10 changes: 5 additions & 5 deletions src/com/ameliaWx/soundingViewer/SoundingFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -3157,11 +3157,11 @@ private void selectStormMotionVector() {
}

private void switchAscentType() {
int confirm = JOptionPane.showConfirmDialog(this, "Would you like to switch the parcel ascent type? These computation may take a little while to complete.", "Switch ascent parcels?", JOptionPane.YES_NO_OPTION);

if(confirm != 0) {
return;
}
// int confirm = JOptionPane.showConfirmDialog(this, "Would you like to switch the parcel ascent type? These computation may take a little while to complete.", "Switch ascent parcels?", JOptionPane.YES_NO_OPTION);
//
// if(confirm != 0) {
// return;
// }

pseudoadiabaticSwitch = !pseudoadiabaticSwitch;

Expand Down

0 comments on commit d30f4c1

Please sign in to comment.