Changeset 14848 in josm for trunk/src/org


Ignore:
Timestamp:
2019-03-06T14:40:31+01:00 (6 years ago)
Author:
GerdP
Message:

see #17401: re-add public method addNoRedraw(Command c)

I used to have this in my local patch but it got lost somehow...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java

    r14845 r14848  
    281281    }
    282282
     283
     284    /**
     285     * Executes the command and add it to the intern command queue.
     286     * @param c The command to execute. Must not be {@code null}.
     287     */
     288    public void addNoRedraw(final Command c) {
     289        addNoRedraw(c, true);
     290    }
     291
    283292    /**
    284293     * Executes the command and add it to the intern command queue.
    285294     * @param c The command to execute. Must not be {@code null}.
    286295     * @param execute true: Execute, else it is assumed that the command was already executed
     296     * @since 14845
    287297     */
    288298    public void addNoRedraw(final Command c, boolean execute) {
Note: See TracChangeset for help on using the changeset viewer.