Changeset 16530 in josm for trunk


Ignore:
Timestamp:
2020-05-31T17:09:05+02:00 (4 years ago)
Author:
simon04
Message:

fix #19328 - History browser: tags/nodes/relations: disallow column reordering

Location:
trunk/src/org/openstreetmap/josm/gui/history
Files:
3 edited

Legend:

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

    r16473 r16530  
    4444        table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    4545        selectionSynchronizer.participateInSynchronizedSelection(table.getSelectionModel());
     46        table.getTableHeader().setReorderingAllowed(false);
    4647        table.addMouseListener(new InternalPopupMenuLauncher());
    4748        table.addMouseListener(new ShowHistoryAction.DoubleClickAdapter(e -> {
  • trunk/src/org/openstreetmap/josm/gui/history/RelationMemberListViewer.java

    r16473 r16530  
    3636        table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    3737        selectionSynchronizer.participateInSynchronizedSelection(table.getSelectionModel());
     38        table.getTableHeader().setReorderingAllowed(false);
    3839        table.addMouseListener(new InternalPopupMenuLauncher());
    3940        table.getModel().addTableModelListener(e -> {
  • trunk/src/org/openstreetmap/josm/gui/history/TagInfoViewer.java

    r16275 r16530  
    6666        table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    6767        selectionSynchronizer.participateInSynchronizedSelection(table.getSelectionModel());
     68        table.getTableHeader().setReorderingAllowed(false);
    6869        table.setTransferHandler(new TagInfoTransferHandler());
    6970        table.addFocusListener(new RepaintOnFocusChange());
Note: See TracChangeset for help on using the changeset viewer.