Changeset 12559 in josm


Ignore:
Timestamp:
2017-08-02T21:51:23+02:00 (5 months ago)
Author:
Don-vip
Message:

see #15102 - fix NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java

    r12221 r12559  
    156156            new MainApplication().initialize();
    157157        } else {
     158            if (Main.main.panel == null) {
     159                initMainPanel();
     160                Main.main.panel = Main.mainPanel;
     161            }
    158162            Main.main.panel.reAddListeners();
    159163        }
Note: See TracChangeset for help on using the changeset viewer.