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:
Klaus Basan
2014-09-27 15:51:00 +02:00
parent 7304d8bd3e
commit e545288630
5 changed files with 19 additions and 6 deletions

View File

@@ -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();