ensure firstType is initialized

This commit is contained in:
Martchus 2015-07-31 01:11:35 +02:00
parent cd04740a74
commit b32fb73c67
1 changed files with 1 additions and 1 deletions

View File

@ -1162,7 +1162,7 @@ void MainWindow::showTableViewContextMenu()
return;
}
QMenu contextMenu(this);
FieldType firstType;
FieldType firstType = FieldType::Normal;
bool allOfSameType = true;
bool hasOneFieldType = false;
int row = selectedIndexes.front().row();