mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-78939 - TDDE: TraceableDisposable.throwDisposalError
This commit is contained in:
@@ -192,7 +192,7 @@ abstract class UndoRedo {
|
||||
}
|
||||
|
||||
private boolean restore(EditorAndState pair) {
|
||||
if (myEditor == null || pair == null || pair.getEditor() == null) {
|
||||
if (myEditor == null || !myEditor.isValid() || pair == null || pair.getEditor() == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user