mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T773, improved start/stop in log.display
This commit is contained in:
committed by
Mat Sutcliffe
parent
1d9fd71305
commit
c57ed26880
@@ -271,8 +271,16 @@ namespace BlackGui
|
||||
void CInterpolationLogDisplay::toggleStartStop()
|
||||
{
|
||||
const bool running = m_updateTimer.isActive();
|
||||
if (running) { this->stop(); }
|
||||
else { this->start(); }
|
||||
m_callsign.clear(); // force update of data and log. start/stop
|
||||
if (running)
|
||||
{
|
||||
this->stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
// treat like a callsign was entered
|
||||
this->onCallsignEntered();
|
||||
}
|
||||
}
|
||||
|
||||
void CInterpolationLogDisplay::showLogInSimulator()
|
||||
|
||||
Reference in New Issue
Block a user