applet: controller: Implement cancel button
This commit is contained in:
parent
8bdc51b620
commit
11edba4974
9 changed files with 33 additions and 19 deletions
|
@ -71,7 +71,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac
|
|||
}
|
||||
}
|
||||
|
||||
callback();
|
||||
callback(true);
|
||||
}
|
||||
|
||||
} // namespace Core::Frontend
|
||||
|
|
|
@ -37,7 +37,7 @@ struct ControllerParameters {
|
|||
|
||||
class ControllerApplet : public Applet {
|
||||
public:
|
||||
using ReconfigureCallback = std::function<void()>;
|
||||
using ReconfigureCallback = std::function<void(bool)>;
|
||||
|
||||
virtual ~ControllerApplet();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue