mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
f3fe9b64bf
The `view_frame_action` variable only exists for the duration of `initialize_menubar()`, so calling it in `m_preview_window->on_close` would crash. This fixes that by storing the action pointer inside MainWidget. (And storing the `view_window_action` too because it felt weird storing one and not the other.) |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
GMLPlaygroundWindow.gml | ||
main.cpp | ||
MainWidget.cpp | ||
MainWidget.h |