mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs#325, made simulator component CDockWidgetInfoAreaComponent compliant, finetuning with resizing in some components
* updates can be skipped, when widget is invisible * current tab? only current tab updates * reduced resize frequency in some cases
This commit is contained in:
@@ -443,6 +443,8 @@ void MainWindow::updateSimulatorData()
|
||||
{
|
||||
CSimulatorComponent *simComp = this->ui->comp_MainInfoArea->getSimulatorComponent();
|
||||
Q_ASSERT(simComp);
|
||||
|
||||
if (!simComp->isVisibleWidget()) return; // no updates on invisible widgets
|
||||
if (!this->getIContextSimulator()->isConnected())
|
||||
{
|
||||
simComp->clear();
|
||||
|
||||
Reference in New Issue
Block a user