From af551284c00e70391fcce7125d2e19cbb00e1af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Thu, 9 Feb 2017 14:40:40 +0100 Subject: [PATCH] Linux Compile Fix --- Fwk/AppFwk/cafUserInterface/cafPdmUiDefaultObjectEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiDefaultObjectEditor.cpp b/Fwk/AppFwk/cafUserInterface/cafPdmUiDefaultObjectEditor.cpp index be8064f98e..7019201074 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiDefaultObjectEditor.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiDefaultObjectEditor.cpp @@ -435,7 +435,7 @@ caf::PdmUiFieldEditorHandle* PdmUiFieldEditorHelper::fieldEditorForField(PdmUiFi bool useOptionsOnly = true; QList options = field->valueOptions(&useOptionsOnly); - assert(fromMenuOnly); // Not supported + assert(useOptionsOnly); // Not supported if (!options.empty()) {