From 204af42497ea982173072517083dfceac1bc72af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dvo=C5=99=C3=A1k?= Date: Thu, 20 Dec 2018 15:51:06 +0100 Subject: [PATCH] Don't switch to displaying '-----' after price data timeout by default (can be overriden by server) --- src/display_action_price.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display_action_price.hpp b/src/display_action_price.hpp index a68b003..e83e740 100644 --- a/src/display_action_price.hpp +++ b/src/display_action_price.hpp @@ -34,7 +34,7 @@ class PriceAction : public ActionT public: PriceAction(const double animation_speed, const Coords& coords=Coords{0,0}) : ActionT(-1, coords), m_animation_speed(animation_speed), m_price(""), m_last_price(""), - m_displayed_price(""), m_ath_price(""), m_price_timeout(300.0), m_display_float_part(false), + m_displayed_price(""), m_ath_price(""), m_price_timeout(0), m_display_float_part(false), m_price_timeout_reported(false), m_ath(true) {}