Fixed another crash.

--HG--
branch : gsoc2014-dfighter
hg/feature/cdb-packed
dfighter1985 10 years ago
parent 1cbcca259c
commit 63b6a03f85

@ -191,7 +191,9 @@ void MissionCompilerSettingsPage::writeSettings()
{
for(int column = 0; column < m_ui.serversTableWidget->columnCount(); column++)
{
items << m_ui.serversTableWidget->item(row, column)->text();
QTableWidgetItem *item = m_ui.serversTableWidget->item(row, column);
if( item != NULL )
items << item->text();
}
}

Loading…
Cancel
Save