summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ControlReference.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-31 09:01:35 -0400
committerLioncash <mathew1800@gmail.com>2019-07-31 09:01:38 -0400
commit4d8d2acae70e58fe4b0b86aa59f2db7af0ef5f87 (patch)
tree67ef86b316cdeb19022f02481ac28c94019d2571 /Source/Core/InputCommon/ControlReference/ControlReference.h
parent0d406f2bdcf2c403460dd78d9d31164d838af843 (diff)
DolphinQt/Config/ARCodeWidget: Avoid unnecessary disk operations
If a user indicates that they want to clone and edit an AR code, then click cancel on the following dialog, we shouldn't actually clone the code. We also shouldn't resave the codes if the edit dialog is opened and then closed again via cancel, as there's nothing that actually changed. This way we don't perform disk accesses unless they're actually necessary.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ControlReference.h')
0 files changed, 0 insertions, 0 deletions