diff --git a/src/widget/wlibrarysidebar.cpp b/src/widget/wlibrarysidebar.cpp index 2ecf191b6660..1eb9754f1336 100644 --- a/src/widget/wlibrarysidebar.cpp +++ b/src/widget/wlibrarysidebar.cpp @@ -181,7 +181,7 @@ void WLibrarySidebar::toggleSelectedItem() { QModelIndex index = selectedIndex(); if (index.isValid()) { // Activate the item so its content shows in the main library. - emit pressed(index); + emit clicked(index); // Expand or collapse the item as necessary. setExpanded(index, !isExpanded(index)); }