applet: controller: Implement cancel button

This commit is contained in:
german77 2023-03-26 21:26:28 -06:00
parent 8bdc51b620
commit 11edba4974
9 changed files with 33 additions and 19 deletions

View file

@ -71,7 +71,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac
}
}
callback();
callback(true);
}
} // namespace Core::Frontend

View file

@ -37,7 +37,7 @@ struct ControllerParameters {
class ControllerApplet : public Applet {
public:
using ReconfigureCallback = std::function<void()>;
using ReconfigureCallback = std::function<void(bool)>;
virtual ~ControllerApplet();