mirror of
https://github.com/RGBCube/serenity
synced 2026-01-21 00:01:01 +00:00
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 | ||