mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-28 17:24:50 -04:00
work around calling focus from ctor path. (#1207)
This commit is contained in:
parent
830fea63ed
commit
7b1541d2e8
3 changed files with 22 additions and 14 deletions
|
@ -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"; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue