Add a menu to select reference for all windows

This commit is contained in:
2014-12-16 02:06:14 +00:00
parent fc54d02527
commit b19dc41857
4 changed files with 6 additions and 8 deletions
-2
View File
@@ -215,9 +215,7 @@ Void DialogSubWindowSelector::removeSubWindow()
for( Int i = 0; i < selectedWindows.size(); i++ )
{
QString currName = selectedWindows.at( i )->text();
qDebug( ) << currName;
Int indexCurrName = m_pcSelectedWindowListNames.indexOf( currName );
qDebug( ) << indexCurrName;
m_pcSelectedWindowListNames.removeAt( indexCurrName );
m_listSelectedWindows->removeItemWidget( selectedWindows[i] );
}