Skip to content

Trigger dialog displays hidden parameters #937

@dreisiebner

Description

@dreisiebner

Parameters marked as hidden are displayed in the trigger dialogs, e.g., in SlewRate or WindowTrigger.
When I copy the corresponding code from ‘FilterPropertiesDialog.cpp’ to ‘TriggerPropertiesDialog.cpp’, the hidden parameters are no longer displayed.

TriggerPropertiesDialog.cpp
Line 219:

		if(StartSection("Parameters", graphEditorMode))
		{
			for(auto it = trig->GetParamBegin(); it != trig->GetParamEnd(); it++)
			{
				//Skip trigger level as that's redundant
				if(it->first == "Level")
					continue;

			++  //Code from 'FilterPropertiesDialog.cpp Line 205
			++	//Skip hidden parameters
			++	if(it->second.IsHidden())
			++		continue;

				if(FilterPropertiesDialog::DoParameter(it->second, it->first, m_paramTempValues))
					updated = true;
			}

			EndSection(graphEditorMode);
		}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinguiNew UI features

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions