mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 17:19:29 +00:00
work around calling focus from ctor path. (#1207)
This commit is contained in:
@@ -48,9 +48,10 @@ class PlaylistView : public View {
|
||||
PlaylistView(NavigationView& nav, const std::filesystem::path& path);
|
||||
~PlaylistView();
|
||||
|
||||
// Following 2 called by 'NavigationView::update_view' after view is created.
|
||||
void set_parent_rect(Rect new_parent_rect) override;
|
||||
void focus() override;
|
||||
void on_hide() override;
|
||||
void on_show() override;
|
||||
|
||||
std::string title() const override { return "Replay"; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user