Test fixes

This commit is contained in:
dragonmacher 2025-02-26 12:42:09 -05:00
parent cc1228bdaa
commit b04ff770b3
6 changed files with 24 additions and 14 deletions

View file

@ -218,7 +218,7 @@ class DockableToolBarManager {
}
// don't allow the last component in a window to be closed to prevent an empty window
return !dwm.isLastComponentInWindow(provider);
return dwm != null && !dwm.isLastComponentInWindow(provider);
}
}