Fix crash: click the Remember-menu works again This commit fixes a subtle regression introduced by myself in f64727ca: WinClient wc = FbMenu::window()->winclient() creates a copy and this copy gets cleaned up at the end of the scope. What I really wanted was a reference.
Mathias Gumz akira@fluxbox.org
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/Remember.cc
→
src/Remember.cc
@@ -310,7 +310,7 @@ // reconfigure only does stuff if the apps file has changed
Remember& r = Remember::instance(); r.checkReload(); if (FbMenu::window() != 0) { - WinClient wc = FbMenu::window()->winClient(); + WinClient& wc = FbMenu::window()->winClient(); if (isSelected()) { r.forgetAttrib(wc, m_attrib); } else {