Ticket #19876: 19876.2.patch
File 19876.2.patch, 876 bytes (added by , 4 years ago) |
---|
-
src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
58 58 // set the maximum width to the current screen. If the dialog is opened on a 59 59 // smaller screen than before, this will reset the stored preference. 60 60 this.setMaximumSize(GuiHelper.getScreenSize()); 61 pack(); 61 62 } 62 63 63 64 protected JPanel buildActionPanel() { … … 229 230 public void dispose() { 230 231 previouslySelected = tpPreferences.getSelectedTab(); 231 232 removeWindowListener(windowEventHandler); 233 setVisible(false); // save current geometry 232 234 super.dispose(); 233 235 } 234 236 }