Changeset 17687 in josm for trunk/test
- Timestamp:
- 2021-03-29T23:05:59+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java
r17677 r17687 67 67 */ 68 68 public static void initContentPane() { 69 if (MainApplication.contentPanePrivate == null) { 70 MainApplication.contentPanePrivate = new JPanel(new BorderLayout()); 71 } 69 // init every time to avoid "Keystroke %s is already assigned to %s" 70 MainApplication.contentPanePrivate = new JPanel(new BorderLayout()); 72 71 } 73 72 … … 104 103 */ 105 104 public static void initToolbar() { 106 if (MainApplication.toolbar == null) { 107 MainApplication.toolbar = new ToolbarPreferences(); 108 } 105 // init every time to avoid "Registered toolbar action" 106 MainApplication.toolbar = new ToolbarPreferences(); 109 107 } 110 108
Note:
See TracChangeset
for help on using the changeset viewer.