Ignore:
Timestamp:
2010-08-20T21:56:22+02:00 (14 years ago)
Author:
bastiK
Message:

Purge+Clear Undo/Redo should free memory - remove references by clearing selection history

File:
1 edited

Legend:

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

    r3443 r3450  
    7676    public ConflictDialog conflictDialog;
    7777    public FilterDialog filterDialog;
    78     /**
    79      * The dialog that shows all relations and lets the user edit them.
    80      */
    8178    public RelationListDialog relationListDialog;
     79    public SelectionListDialog selectionListDialog;
    8280    /**
    8381     * The panel list of all toggle dialog icons. To add new toggle dialog actions, use addToggleDialog
     
    157155        addToggleDialog(LayerListDialog.getInstance());
    158156        addToggleDialog(new PropertiesDialog(this));
    159         addToggleDialog(new SelectionListDialog());
     157        addToggleDialog(selectionListDialog = new SelectionListDialog());
    160158        addToggleDialog(relationListDialog = new RelationListDialog());
    161159        addToggleDialog(new CommandStackDialog(this));
Note: See TracChangeset for help on using the changeset viewer.