Fixed another crash.
This commit is contained in:
parent
b55b0c5e0d
commit
5a39d59fb9
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue