screen markers: fix for confirm dialog appearing behind main UI window
This commit is contained in:
@@ -276,8 +276,8 @@ class ScreenMarkerPanel extends JPanel
|
||||
@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)
|
||||
|
||||
Reference in New Issue
Block a user