mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue where closing an entry in the metadata editor could lead to a crash.
This commit is contained in:
parent
c4e6d3cac1
commit
f840e93fc9
|
@ -359,11 +359,12 @@ bool GuiTextEditKeyboardPopup::input(InputConfig* config, Input input)
|
||||||
"NO",
|
"NO",
|
||||||
[this] {
|
[this] {
|
||||||
delete this;
|
delete this;
|
||||||
return false;
|
return true;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
delete this;
|
delete this;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -188,11 +188,12 @@ bool GuiTextEditPopup::input(InputConfig* config, Input input)
|
||||||
"NO",
|
"NO",
|
||||||
[this] {
|
[this] {
|
||||||
delete this;
|
delete this;
|
||||||
return false;
|
return true;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
delete this;
|
delete this;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue