summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2014-08-28 02:02:05 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2014-08-28 02:02:05 +0200
commita3ee8736ce7bfaae494dd9202a827d31cd6a3779 (patch)
tree77f9fc2977b8a4f7a759008ab406a9120caa4211
parent64c0376d5637cd19ba5a898d237fb5c82ada02e5 (diff)
playlist: update: reorder conditions
-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);