提交 1c0232fd 编写于 作者: S Serge Rider

#6489 Context menu dispose handle


Former-commit-id: b154a936
上级 bfe729e9
......@@ -57,8 +57,8 @@ import org.jkiss.dbeaver.ui.navigator.database.NavigatorViewBase;
import org.jkiss.dbeaver.ui.navigator.project.ProjectNavigatorView;
import org.jkiss.utils.CommonUtils;
import java.util.List;
import java.util.*;
import java.util.List;
/**
* Navigator utils
......@@ -242,7 +242,7 @@ public class NavigatorUtils {
menuMgr.setRemoveAllWhenShown(true);
control.setMenu(menu);
control.addDisposeListener(e -> menuMgr.dispose());
return menuMgr;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册