Skip to content

Commit c22e917

Browse files
committed
fix test case
1 parent 16d301c commit c22e917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/functional/java/org/openstreetmap/josm/plugins/scripting/ui/console/ScriptingConsolePanelTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private void build() {
1515
final ScriptingConsolePanel console;
1616
Container c = getContentPane();
1717
c.setLayout(new BorderLayout());
18-
c.add(console = new ScriptingConsolePanel(), BorderLayout.CENTER);
18+
c.add(console = new ScriptingConsolePanel(getRootPane()), BorderLayout.CENTER);
1919
setSize(600,800);
2020
}
2121

0 commit comments

Comments
 (0)