mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Do not update graphs/widgets if CSV is paused
This commit is contained in:
parent
0c50d2a24a
commit
e9696a06cb
@ -212,7 +212,8 @@ void GraphProvider::updateValues()
|
||||
return;
|
||||
|
||||
// Abort if not connected to device or reproducing CSV file
|
||||
if (!IO::Manager::getInstance()->connected() && !CSV::Player::getInstance()->isOpen())
|
||||
if (!IO::Manager::getInstance()->connected()
|
||||
&& !CSV::Player::getInstance()->isPlaying())
|
||||
return;
|
||||
|
||||
// Clear dataset & latest values list
|
||||
|
@ -417,7 +417,8 @@ void WidgetProvider::updateModels()
|
||||
return;
|
||||
|
||||
// Abort if not connected to device or reproducing CSV file
|
||||
if (!IO::Manager::getInstance()->connected() && !CSV::Player::getInstance()->isOpen())
|
||||
if (!IO::Manager::getInstance()->connected()
|
||||
&& !CSV::Player::getInstance()->isPlaying())
|
||||
return;
|
||||
|
||||
// Clear current groups
|
||||
|
Loading…
x
Reference in New Issue
Block a user