Skip to content

Commit

Permalink
Clarify the DELETE button's warning text.
Browse files Browse the repository at this point in the history
  • Loading branch information
c0d3h4x0r committed Nov 28, 2018
1 parent bf02819 commit a7a22e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es-app/src/guis/GuiMetaDataEd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window, MetaDataList* md, const std::vector
if(mDeleteFunc)
{
auto deleteFileAndSelf = [&] { mDeleteFunc(); delete this; };
auto deleteBtnFunc = [this, deleteFileAndSelf] { mWindow->pushGui(new GuiMsgBox(mWindow, "THIS WILL DELETE A FILE!\nARE YOU SURE?", "YES", deleteFileAndSelf, "NO", nullptr)); };
auto deleteBtnFunc = [this, deleteFileAndSelf] { mWindow->pushGui(new GuiMsgBox(mWindow, "THIS WILL DELETE THE ACTUAL GAME FILE(S)!\nARE YOU SURE?", "YES", deleteFileAndSelf, "NO", nullptr)); };
buttons.push_back(std::make_shared<ButtonComponent>(mWindow, "DELETE", "delete", deleteBtnFunc));
}

Expand Down

0 comments on commit a7a22e4

Please sign in to comment.