Do not display show more for playlist if no playlist is found

This commit is contained in:
emeric
2018-03-02 13:05:30 +01:00
parent 9cf89893e0
commit 4b20f713f3
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -48,6 +48,7 @@ Playlist::Playlist(Wt::WContainerWidget* parent)
_showMore = new Wt::WTemplate(Wt::WString::tr("template-show-more"));
_showMore->addFunction("tr", &Wt::WTemplate::Functions::tr);
_showMore->setHidden(true);
container->bindWidget("show-more", _showMore);
_showMore->clicked().connect(std::bind([=]