Hide favorite button in module browser since it does nothing
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
623d80da4d
commit
8758fd53d1
1 changed files with 2 additions and 0 deletions
|
|
@ -297,7 +297,9 @@ public:
|
||||||
// hide "Browse VCV Library" button
|
// hide "Browse VCV Library" button
|
||||||
rack::widget::Widget* const browser = context->scene->browser->children.back();
|
rack::widget::Widget* const browser = context->scene->browser->children.back();
|
||||||
rack::widget::Widget* const headerLayout = browser->children.front();
|
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();
|
rack::widget::Widget* const libraryButton = headerLayout->children.back();
|
||||||
|
favoriteButton->hide();
|
||||||
libraryButton->hide();
|
libraryButton->hide();
|
||||||
|
|
||||||
// Report to user if something is wrong with the installation
|
// Report to user if something is wrong with the installation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue