diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/sqlconsole/SQLConsole.java b/src/main/gui/net/sf/jailer/ui/databrowser/sqlconsole/SQLConsole.java index a22013e46..804763668 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/sqlconsole/SQLConsole.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/sqlconsole/SQLConsole.java @@ -4156,7 +4156,9 @@ public void loadFromFile(File file, boolean tempFileBased, String alternativeToo editorPane.discardAllEdits(); initialContentSize = editorPane.getDocument().getLength(); initialContentHash = editorPane.getText().hashCode(); - consoleContainerPanel.setVisible(false); + jPanel7.setOpaque(true); + jPanel7.setBackground(editorPane.getBackground()); + consoleContainerPanel.setVisible(false); UIUtil.invokeLater(4, new Runnable() { @Override public void run() {