From 69cc341fdd223c3c94f226a8d7200fe2c785fdcd Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Thu, 17 Nov 2022 01:43:40 +0100 Subject: [PATCH] RMG-Input: revert to main profile in on_removeProfileButton_clicked() --- Source/RMG-Input/UserInterface/Widget/ControllerWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/RMG-Input/UserInterface/Widget/ControllerWidget.cpp b/Source/RMG-Input/UserInterface/Widget/ControllerWidget.cpp index 012418f8..2606a553 100644 --- a/Source/RMG-Input/UserInterface/Widget/ControllerWidget.cpp +++ b/Source/RMG-Input/UserInterface/Widget/ControllerWidget.cpp @@ -475,6 +475,9 @@ void ControllerWidget::on_removeProfileButton_clicked() messageBox.addButton(QMessageBox::Ok); messageBox.exec(); } + + // change profile back to main + this->profileComboBox->setCurrentIndex(0); } void ControllerWidget::on_setupButton_clicked()