Skip to content

Commit a5fe122

Browse files
apply preferences only when GUI is not displayed
keep settings unchanged when running new tests
1 parent 0da6106 commit a5fe122

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.xtend

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ class RunnerPanel implements FocusListener, ActionListener {
109109
if (basePanel === null) {
110110
initializeGUI()
111111
}
112+
if (!basePanel.showing) {
113+
applyPreferences
114+
}
112115
return basePanel
113116
}
114117

@@ -1008,6 +1011,5 @@ class RunnerPanel implements FocusListener, ActionListener {
10081011
c.weightx = 1
10091012
c.weighty = 1
10101013
basePanel.add(horizontalSplitPane, c)
1011-
applyPreferences
10121014
}
10131015
}

0 commit comments

Comments
 (0)