mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +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()
|
void CInterpolationLogDisplay::toggleStartStop()
|
||||||
{
|
{
|
||||||
const bool running = m_updateTimer.isActive();
|
const bool running = m_updateTimer.isActive();
|
||||||
if (running) { this->stop(); }
|
m_callsign.clear(); // force update of data and log. start/stop
|
||||||
else { this->start(); }
|
if (running)
|
||||||
|
{
|
||||||
|
this->stop();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// treat like a callsign was entered
|
||||||
|
this->onCallsignEntered();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInterpolationLogDisplay::showLogInSimulator()
|
void CInterpolationLogDisplay::showLogInSimulator()
|
||||||
|
|||||||
Reference in New Issue
Block a user