mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 14:43:15 +00:00
SaveDataDialog: fix possible null access (#2947)
This commit is contained in:
parent
e2513d50be
commit
5f447a815e
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
|||
|
||||
if (item->focusPos != FocusPos::DIRNAME) {
|
||||
this->focus_pos = item->focusPos;
|
||||
} else {
|
||||
} else if (item->focusPosDirName != nullptr) {
|
||||
this->focus_pos = item->focusPosDirName->data.to_string();
|
||||
}
|
||||
this->style = item->itemStyle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue