Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
DolphinQt: Make the mapping window clear button use ControllerEmu's clear functionality. #7788
Rather than sending a clear signal to all the widgets we can directly clear the controller and just update the UI. (This is what the WxWidgets dialog did and is what the "Default" button basically does)
This makes the "Clear" button complete instantly instead of taking seconds while every single widget calls SaveSettings().
It also no longer forces newly added widget types to implement their own clear functionality. (which is what I ran into causing me to become irate)