Changeset 14562 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2018-12-15T17:19:00+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java
r14281 r14562 362 362 } 363 363 364 protected boolean redoTreeIsEmpty() { 365 return redoTree.getRowCount() == 0; 366 } 367 364 368 @Override 365 369 public void cleaned(CommandQueueCleanedEvent e) { … … 374 378 undoRoot.add(getNodeForCommand(e.getCommand())); 375 379 undoTreeModel.nodeStructureChanged(undoRoot); 380 // fix 16911: make sure that redo tree is rebuild with empty list 381 if (!redoTreeIsEmpty()) 382 buildRedoTree(); 376 383 ensureTreesConsistency(); 377 384 }
Note:
See TracChangeset
for help on using the changeset viewer.