Hide favorite button in module browser since it does nothing

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-23 16:10:58 +00:00
parent 623d80da4d
commit 8758fd53d1
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -297,7 +297,9 @@ public:
// hide "Browse VCV Library" button
rack::widget::Widget* const browser = context->scene->browser->children.back();
rack::widget::Widget* const headerLayout = browser->children.front();
rack::widget::Widget* const favoriteButton = *std::next(headerLayout->children.begin(), 3);
rack::widget::Widget* const libraryButton = headerLayout->children.back();
favoriteButton->hide();
libraryButton->hide();
// Report to user if something is wrong with the installation