summaryrefslogtreecommitdiff
path: root/src/status.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2013-04-07 18:25:02 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2013-04-07 18:25:02 +0200
commit5aec12b2697bba92fd4f83bebe7a5d2efaee91a7 (patch)
tree211a37fe39b1c202146df2172ee6863b23a508b9 /src/status.cpp
parent2184fb7c7393ef2d8e3e3ccbc020d7d0025703e4 (diff)
status: update header immediately after player state change
Diffstat (limited to 'src/status.cpp')
-rw-r--r--src/status.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/status.cpp b/src/status.cpp
index 9e99085c..7df6d8c1 100644
--- a/src/status.cpp
+++ b/src/status.cpp
@@ -377,6 +377,10 @@ void Status::Changes::playerState()
else
*wFooter << NC::Format::Bold << state << NC::Format::NoBold;
}
+
+ // needed for immediate display after starting
+ // player from stopped state or seeking
+ elapsedTime(false);
}
void Status::Changes::songID()