2
0
forked from Ivasoft/DSView

fix: The confirm box to swich device is too much

This commit is contained in:
dreamsourcelabTAI
2023-06-07 18:57:36 +08:00
parent 37091e3a8a
commit e9641a4dbf
3 changed files with 10 additions and 4 deletions

View File

@@ -1921,9 +1921,11 @@ namespace pv
{
QString msgText = L_S(STR_PAGE_MSG, S_ID(IDS_MSG_TO_SWITCH_DEVICE), "To switch the new device?");
if (MsgBox::Confirm(msgText) == false){
if (MsgBox::Confirm(msgText, "", &_msg, NULL) == false){
_msg = NULL;
return;
}
_msg = NULL;
}
// The store confirm is not processed.