Skip to content

keep dockable window hidden to fix #116 #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -479,22 +479,11 @@ private void setCurrentRun(final Run run) {
}
}

private void showDockable() {
try {
if (!RunnerFactory.getDockable().isVisible()) {
RunnerFactory.showDockable();
}
} catch (Throwable t) {
// ignore
}
}

private void enableOrDisableStopButton() {
stopButton.setEnabled(currentRun.getEndTime() == null);
}

public synchronized void update(final String reporterId) {
showDockable();
enableOrDisableStopButton();
setCurrentRun(runs.get(reporterId));
final int row = currentRun.getCurrentTestNumber() - 1;
Expand Down