mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-180867 Merged menu does not collapse until IDE resized on Linux
Previously, MainToolbar.removeNotify() would remove all widthCalculationListeners. But these listeners were added not by MainToolbar.addNotify, but by ToolbarFrameHeader.addNotify, so they shouldn't be managed by MainToolbar. GitOrigin-RevId: a7c7529c45e0ef7d08742e368a85f5187ae180f8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e911f0fd35
commit
4a6cd383db
@@ -339,7 +339,6 @@ class MainToolbar(
|
||||
super.removeNotify()
|
||||
if (ScreenUtil.isStandardAddRemoveNotify(this)) {
|
||||
coroutineScope.cancel()
|
||||
widthCalculationListeners.clear()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user