ensure firstType is initialized
This commit is contained in:
parent
cd04740a74
commit
b32fb73c67
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue