UI: Avoid pushing a screen on top of itself.
In case someone doesn't realize they're on settings, or etc.
This commit is contained in:
parent
f1bd54148b
commit
5c81c67410
5 changed files with 8 additions and 4 deletions
|
@ -33,6 +33,8 @@ class ControlMappingScreen : public UIDialogScreenWithBackground {
|
|||
public:
|
||||
ControlMappingScreen() {}
|
||||
void KeyMapped(int pspkey); // Notification to let us refocus the same one after recreating views.
|
||||
std::string tag() const override { return "control mapping"; }
|
||||
|
||||
protected:
|
||||
virtual void CreateViews() override;
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue