From 369182dc285e5585d4d7f051a6ac955a888601a7 Mon Sep 17 00:00:00 2001 From: Duduf Date: Mon, 18 Sep 2023 19:59:13 +0200 Subject: [PATCH] Fix pipe change when adding new steps --- src/rameditwidgets/pipeeditwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rameditwidgets/pipeeditwidget.cpp b/src/rameditwidgets/pipeeditwidget.cpp index 192afdfa..d5561d9b 100644 --- a/src/rameditwidgets/pipeeditwidget.cpp +++ b/src/rameditwidgets/pipeeditwidget.cpp @@ -111,8 +111,8 @@ void PipeEditWidget::setupUi() void PipeEditWidget::connectEvents() { - connect(ui_fromBox, &RamObjectComboBox::currentObjectChanged, this, &PipeEditWidget::setOutputStep); - connect(ui_toBox, &RamObjectComboBox::currentObjectChanged, this, &PipeEditWidget::setInputStep); + connect(ui_fromBox, &RamObjectComboBox::objectActivated, this, &PipeEditWidget::setOutputStep); + connect(ui_toBox, &RamObjectComboBox::objectActivated, this, &PipeEditWidget::setInputStep); connect(ui_pipeFileList, &ObjectListWidget::add, this, &PipeEditWidget::createPipeFile); }