aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/applets
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
commit7aaa8bf6cd164af92e6d7915fcff7b1503cdfdd3 (patch)
treed2a1f4b3990c946d63652c23361174a33cd3e782 /src/core/frontend/applets
parent1ab4527a5e3a63c1e52e0514d4bb705b9eefd686 (diff)
parenta1b66df775d3567038d1462ac027be1b4033d4e6 (diff)
Merge pull request #9997 from german77/cancel_controller
applet: controller: Implement cancel button
Diffstat (limited to 'src/core/frontend/applets')
-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 8e586e9384..3300d4f797 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 5c488387df..19a2db6bf5 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();