Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/library/librarycontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ LibraryControl::LibraryControl(Library* pLibrary)
m_numSamplers.connectValueChanged(this, &LibraryControl::slotNumSamplersChanged);
m_numPreviewDecks.connectValueChanged(this, &LibraryControl::slotNumPreviewDecksChanged);

// There is no C++ code interacting with this, but it needs to be created before
// controller scripts are initialized.
m_pMaximize = std::make_unique<ControlPushButton>(ConfigKey("[Master]", "maximize_library"));

// Controls to navigate vertically within currently focused widget (up/down buttons)
m_pMoveUp = std::make_unique<ControlPushButton>(ConfigKey("[Library]", "MoveUp"));
m_pMoveDown = std::make_unique<ControlPushButton>(ConfigKey("[Library]", "MoveDown"));
Expand Down
2 changes: 2 additions & 0 deletions src/library/librarycontrol.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ class LibraryControl : public QObject {
// Give the keyboard focus to the main library pane
void setLibraryFocus();

std::unique_ptr<ControlPushButton> m_pMaximize;

// Controls to navigate vertically within currently focused widget (up/down buttons)
std::unique_ptr<ControlPushButton> m_pMoveUp;
std::unique_ptr<ControlPushButton> m_pMoveDown;
Expand Down