Ignore:
Timestamp:
2016-01-01T14:55:14+01:00 (4 years ago)
Author:
stoecker
Message:

see #8562 - restart JOSM in case we switched from IPv6 to IPv4 only, so we have no broken connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/RestartAction.java

    r8846 r9238  
    4646        putValue("help", ht("/Action/Restart"));
    4747        putValue("toolbar", "action/restart");
    48         Main.toolbar.register(this);
     48        if (Main.toolbar != null) {
     49            Main.toolbar.register(this);
     50        }
    4951        setEnabled(isRestartSupported());
    5052    }
Note: See TracChangeset for help on using the changeset viewer.