summaryrefslogtreecommitdiff
path: root/src/core/frontend
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-04-01 09:49:08 -0400
committerGitHub <noreply@github.com>2023-04-01 09:49:08 -0400
commitb2772bcb0d994a9646282e98aca5d97b70f843f4 (patch)
treed2a1f4b3990c946d63652c23361174a33cd3e782 /src/core/frontend
parentff4fbaf152929872fc71973cf084ada02af90bdf (diff)
parent11edba4974ab702deb54371bf1bf7644f1dd8e38 (diff)
Merge pull request #9997 from german77/cancel_controller
applet: controller: Implement cancel button
Diffstat (limited to 'src/core/frontend')
-rw-r--r--src/core/frontend/applets/controller.cpp2
-rw-r--r--src/core/frontend/applets/controller.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cpp
index 8e586e938..3300d4f79 100644
--- a/src/core/frontend/applets/controller.cpp
+++ b/src/core/frontend/applets/controller.cpp
@@ -71,7 +71,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac
}
}
- callback();
+ callback(true);
}
} // namespace Core::Frontend
diff --git a/src/core/frontend/applets/controller.h b/src/core/frontend/applets/controller.h
index 5c488387d..19a2db6bf 100644
--- a/src/core/frontend/applets/controller.h
+++ b/src/core/frontend/applets/controller.h
@@ -37,7 +37,7 @@ struct ControllerParameters {
class ControllerApplet : public Applet {
public:
- using ReconfigureCallback = std::function<void()>;
+ using ReconfigureCallback = std::function<void(bool)>;
virtual ~ControllerApplet();