summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/playlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.cpp b/src/playlist.cpp
index 6d05cbd7..26f949d6 100644
--- a/src/playlist.cpp
+++ b/src/playlist.cpp
@@ -99,8 +99,8 @@ std::wstring Playlist::title()
void Playlist::update()
{
- if (Config.playlist_disable_highlight_delay.time_duration::seconds() > 0
- && w.isHighlighted()
+ if (w.isHighlighted()
+ && Config.playlist_disable_highlight_delay.time_duration::seconds() > 0
&& Global::Timer - itsTimer > Config.playlist_disable_highlight_delay)
{
w.setHighlighting(false);