Copy subpage instead of moving it in SubpagePanel constructor
This commit is contained in:
parent
4eef5d62fc
commit
df6051005a
@ -19,7 +19,7 @@ namespace MusicSelect {
|
|||||||
const std::string& name
|
const std::string& name
|
||||||
) :
|
) :
|
||||||
Panel(resources),
|
Panel(resources),
|
||||||
m_subpage(std::move(subpage)),
|
m_subpage(subpage),
|
||||||
m_name(name)
|
m_name(name)
|
||||||
{};
|
{};
|
||||||
void click(Ribbon& ribbon, const Data::Button& button) override;
|
void click(Ribbon& ribbon, const Data::Button& button) override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user