Changeset 1765 in josm for trunk/src


Ignore:
Timestamp:
2009-07-11T13:07:47+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed problem with hidden property edit dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java

    r1763 r1765  
    202202        };
    203203        final JDialog dlg = optionPane.createDialog(Main.parent, tr("Change values?"));
     204        dlg.setAlwaysOnTop(true);
     205        dlg.toFront();
    204206
    205207        values.getEditor().addActionListener(new ActionListener() {
     
    343345            }
    344346        };
    345         pane.createDialog(Main.parent, tr("Change values?")).setVisible(true);
     347        JDialog dialog = pane.createDialog(Main.parent, tr("Change values?"));
     348        dialog.setAlwaysOnTop(true);
     349        dialog.toFront();
     350        dialog.setVisible(true);
     351
    346352        if (!Integer.valueOf(JOptionPane.OK_OPTION).equals(pane.getValue()))
    347353            return;
Note: See TracChangeset for help on using the changeset viewer.