Fixed another crash.

This commit is contained in:
dfighter1985 2014-07-15 20:29:57 +02:00
parent cc9647c098
commit 269613fc82

View file

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