Changeset 3016 in josm
- Timestamp:
- 2010-02-18T20:52:48+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadReferrersTask.java
r2950 r3016 183 183 JOptionPane.WARNING_MESSAGE 184 184 ); 185 Main.map.conflictDialog.unfurlDialog(); 186 Main.map.repaint(); 185 187 } 186 188 -
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r2969 r3016 187 187 188 188 /** 189 * Changes the state of the dialog such that the user can see the content 190 * and takes care of the panel reconstruction. 191 */ 192 public void unfurlDialog() 193 { 194 if (isDialogInDefaultView()) 195 return; 196 if (isDialogInCollapsedView()) { 197 expand(); 198 dialogsPanel.reconstruct(Action.COLLAPSED_TO_DEFAULT, this); 199 } else if (!isDialogShowing()) { 200 showDialog(); 201 if (isDocked && isCollapsed) { 202 expand(); 203 } 204 if (isDocked) { 205 dialogsPanel.reconstruct(Action.INVISIBLE_TO_DEFAULT, this); 206 } 207 } 208 } 209 210 /** 189 211 * Hides the dialog 190 212 */ … … 343 365 @Override 344 366 public void mouseClicked(MouseEvent e) { 345 // toggleExpandedState ();367 // toggleExpandedState 346 368 if (isCollapsed) { 347 369 expand();
Note:
See TracChangeset
for help on using the changeset viewer.