From 470d239a076ac2bfa9a35d2de029e43698813923 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 5 Apr 2022 13:52:37 +0200 Subject: [PATCH] Toolbar Editor : Make sure uiOrdering use unique objects --- Fwk/AppFwk/cafUserInterface/cafPdmUiToolBarEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiToolBarEditor.cpp b/Fwk/AppFwk/cafUserInterface/cafPdmUiToolBarEditor.cpp index e02a406c18..57314c9426 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiToolBarEditor.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiToolBarEditor.cpp @@ -121,9 +121,9 @@ void PdmUiToolBarEditor::configureAndUpdateUi( const QString& uiConfigName ) } } - PdmUiOrdering config; for ( caf::PdmUiObjectHandle* ownerUiObject : ownerUiObjects ) { + PdmUiOrdering config; ownerUiObject->uiOrdering( uiConfigName, config ); } }