Where can I look at an example of how a FMessageDialog::Open(EAppMsgType::YesNo) is implemented?
I can execute something from clicking yes, but clicking no does the same thing. How can I execute something under the no option?
FMessageDialog::Open(EAppMsgType::YesNo, DialogText, &MessageTitle);
{
if(EAppReturnType::Yes)
{
//code successfully executes when clicking Yes in dialog
}
if(EAppReturnType::No)
{
//same code as Yes executes, IDE says this section has "unreachable code"
}
}