Skip to content

Commit

Permalink
screen markers: fix for confirm dialog appearing behind main UI window
Browse files Browse the repository at this point in the history
  • Loading branch information
drivfe authored and Adam- committed May 24, 2018
1 parent e96d46b commit 475447c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ public void mouseExited(MouseEvent mouseEvent)
@Override
public void mousePressed(MouseEvent mouseEvent)
{
int confirm = JOptionPane.showConfirmDialog(null,
"Are you sure you want to permanenely delete this screen marker?",
int confirm = JOptionPane.showConfirmDialog(ScreenMarkerPanel.this,
"Are you sure you want to permanently delete this screen marker?",
"Warning", JOptionPane.OK_CANCEL_OPTION);

if (confirm == 0)
Expand Down

0 comments on commit 475447c

Please sign in to comment.