mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 09:57:00 +02:00
Using a WeakPtr to keep a reference to the active layer caused it to be destroyed when the last tab was closed, which made the m_layer == layer check in set_layer() return early since it was already null. Because of this the LayerPropertiesWidget was never disabled.
2.5 KiB
2.5 KiB