Linux Compile Fix

This commit is contained in:
Jacob Støren 2017-02-09 14:40:40 +01:00
parent 8596c3f79c
commit af551284c0

View File

@ -435,7 +435,7 @@ caf::PdmUiFieldEditorHandle* PdmUiFieldEditorHelper::fieldEditorForField(PdmUiFi
bool useOptionsOnly = true; bool useOptionsOnly = true;
QList<PdmOptionItemInfo> options = field->valueOptions(&useOptionsOnly); QList<PdmOptionItemInfo> options = field->valueOptions(&useOptionsOnly);
assert(fromMenuOnly); // Not supported assert(useOptionsOnly); // Not supported
if (!options.empty()) if (!options.empty())
{ {