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
|
@Override
|
||||||
public void mousePressed(MouseEvent mouseEvent)
|
public void mousePressed(MouseEvent mouseEvent)
|
||||||
{
|
{
|
||||||
int confirm = JOptionPane.showConfirmDialog(null,
|
int confirm = JOptionPane.showConfirmDialog(ScreenMarkerPanel.this,
|
||||||
"Are you sure you want to permanenely delete this screen marker?",
|
"Are you sure you want to permanently delete this screen marker?",
|
||||||
"Warning", JOptionPane.OK_CANCEL_OPTION);
|
"Warning", JOptionPane.OK_CANCEL_OPTION);
|
||||||
|
|
||||||
if (confirm == 0)
|
if (confirm == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user