Bugfix when one on the windows does not exist anymore when adding then to the window list in the quality measurements sidebar
This commit is contained in:
1 parent
623d2e78d3
commit
20fb699eee
1 file changed
+6
-3
@@ -112,9 +112,12 @@ Void QualityMeasurementSidebar::updateSubWindowList()
|
||||
for( Int i = 0; i < m_pcMainWindowMdiArea->subWindowList().size(); i++ )
|
||||
{
|
||||
subWindow = qobject_cast<SubWindowHandle *>( m_pcMainWindowMdiArea->subWindowList().at( i ) );
|
||||
currSubWindowName = subWindow->getWindowName();
|
||||
if( !m_pcSelectedWindowListNames.contains( currSubWindowName ) && !subWindow->getIsModule() )
|
||||
m_pcWindowListNames.append( currSubWindowName );
|
||||
if( subWindow )
|
||||
{
|
||||
currSubWindowName = subWindow->getWindowName();
|
||||
if( !m_pcSelectedWindowListNames.contains( currSubWindowName ) && !subWindow->getIsModule() )
|
||||
m_pcWindowListNames.append( currSubWindowName );
|
||||
}
|
||||
}
|
||||
m_comboBoxRef->clear();
|
||||
m_comboBoxRef->insertItems( 0, m_pcWindowListNames );
|
||||
|
||||
Reference in new issue
Block a user