1
0
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:
David Sansome 2010-11-20 12:10:56 +00:00
parent 63d2496784
commit 052ddb74a1
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -159,7 +159,7 @@ void SearchTermWidget::SetActive(bool active) {
}
void SearchTermWidget::enterEvent(QEvent*) {
if (!overlay_)
if (!overlay_ || !isEnabled())
return;
animation_->stop();