mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 02:14:21 +01:00
Always show a scrollbar in the smart playlist preview (avoids flickering when the viewport resizes), and stop the new search term widget responding to mouse events when it's disabled
This commit is contained in:
parent
63d2496784
commit
052ddb74a1
@ -65,6 +65,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="PlaylistView" name="tree">
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOn</enum>
|
||||
</property>
|
||||
<property name="rootIsDecorated">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
@ -159,7 +159,7 @@ void SearchTermWidget::SetActive(bool active) {
|
||||
}
|
||||
|
||||
void SearchTermWidget::enterEvent(QEvent*) {
|
||||
if (!overlay_)
|
||||
if (!overlay_ || !isEnabled())
|
||||
return;
|
||||
|
||||
animation_->stop();
|
||||
|
Loading…
Reference in New Issue
Block a user