mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
revert incorrect change. UpdateEnabled property must not depend on the UI component state
This commit is contained in:
@@ -35,7 +35,7 @@ public abstract class UpdatableDebuggerView extends JPanel implements DebuggerVi
|
||||
private final DebuggerStateManager myStateManager;
|
||||
private volatile boolean myRefreshNeeded = true;
|
||||
private final java.util.List<Disposable> myDisposables = new ArrayList<Disposable>();
|
||||
private boolean myUpdateEnabled;
|
||||
private volatile boolean myUpdateEnabled;
|
||||
|
||||
protected UpdatableDebuggerView(final Project project, final DebuggerStateManager stateManager) {
|
||||
setLayout(new BorderLayout());
|
||||
@@ -64,7 +64,7 @@ public abstract class UpdatableDebuggerView extends JPanel implements DebuggerVi
|
||||
}
|
||||
|
||||
protected final boolean isUpdateEnabled() {
|
||||
return myUpdateEnabled || isShowing();
|
||||
return myUpdateEnabled;
|
||||
}
|
||||
|
||||
public final void setUpdateEnabled(final boolean enabled) {
|
||||
|
||||
Reference in New Issue
Block a user