PanelStack: fix missing element for comparison in PartialEq

This commit is contained in:
Cecile Tonglet 2023-11-28 10:09:58 +01:00
parent c6c19f0241
commit d596258759

View file

@ -94,7 +94,7 @@ impl PanelStackState {
impl PartialEq for PanelStackState { impl PartialEq for PanelStackState {
fn eq(&self, other: &Self) -> bool { fn eq(&self, other: &Self) -> bool {
self.version == other.version Rc::ptr_eq(&self.opened_panels, &other.opened_panels) && self.version == other.version
} }
} }