Changeset 5998 in josm
- Timestamp:
- 2013-06-10T00:55:26+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/actionsupport/DeleteFromRelationConfirmationDialog.java
r5983 r5998 169 169 ).applySafe(this); 170 170 setCanceled(false); 171 } else if (!visible && isShowing()) {171 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 172 172 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 173 173 } -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r5988 r5998 374 374 setCanceled(false); 375 375 btnApply.requestFocusInWindow(); 376 } else {376 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 377 377 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 378 378 } -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java
r4387 r5998 319 319 WindowGeometry.centerOnScreen(new Dimension(400,300)) 320 320 ).applySafe(this); 321 } else {321 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 322 322 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 323 323 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java
r5297 r5998 56 56 new Dimension(600, 400))).applySafe(this); 57 57 } else { 58 new WindowGeometry(this).remember(geom); 58 if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 59 new WindowGeometry(this).remember(geom); 60 } 59 61 unregisterListeners(); 60 62 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java
r5958 r5998 301 301 model.init(); 302 302 303 } else if ( !visible && isShowing()){303 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 304 304 model.tearDown(); 305 305 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryDialog.java
r4864 r5998 152 152 setCanceled(false); 153 153 startUserInput(); 154 } else if ( !visible && isShowing()){154 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 155 155 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 156 156 pnlAdvancedQueries.rememberSettings(); -
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r5460 r5998 366 366 ) 367 367 ).applySafe(this); 368 } else if ( !visible && isShowing()){368 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 369 369 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 370 370 } -
trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java
r5938 r5998 209 209 ) 210 210 ).applySafe(this); 211 } else if ( !visible && isShowing()){211 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 212 212 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 213 213 } -
trunk/src/org/openstreetmap/josm/gui/io/CloseChangesetDialog.java
r5200 r5998 103 103 WindowGeometry.centerInWindow(Main.parent, new Dimension(300,300)) 104 104 ).applySafe(this); 105 } else {105 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 106 106 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 107 107 } -
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r5842 r5998 365 365 ).applySafe(this); 366 366 startUserInput(); 367 } else if ( !visible && isShowing()){367 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 368 368 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 369 369 } -
trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java
r4619 r5998 170 170 ) 171 171 ).applySafe(this); 172 } else if ( !visible && isShowing()){172 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 173 173 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 174 174 } -
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r5899 r5998 295 295 ).applySafe(this); 296 296 initFromPreferences(); 297 } else if ( !visible && isShowing()){297 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 298 298 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 299 299 } -
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
r5631 r5998 121 121 ) 122 122 ).applySafe(this); 123 } else if ( !visible && isShowing()){123 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 124 124 new WindowGeometry(this).remember(getClass().getName() + ".geometry"); 125 125 }
Note:
See TracChangeset
for help on using the changeset viewer.