1
0
Fork 0

DBG: fixed ignored exceptions (when deleting everything, the list is cleared)

GUI: fixed ignored exceptions (delete last now works)
This commit is contained in:
Mr. eXoDia 2014-04-01 20:56:54 +02:00
parent ddf8d59742
commit b31ff8256b
2 changed files with 3 additions and 1 deletions

View File

@ -660,9 +660,9 @@ extern "C" DLL_EXPORT uint _dbg_sendmessage(DBGMSG type, void* param1, void* par
}
}
char exceptionRange[MAX_SETTING_SIZE]="";
dbgclearignoredexceptions();
if(BridgeSettingGet("Exceptions", "IgnoreRange", exceptionRange))
{
dbgclearignoredexceptions();
char* entry=strtok(exceptionRange, ",");
while(entry)
{

View File

@ -165,6 +165,8 @@ void SettingsDialog::SaveSettings()
exceptionRange.chop(1); //remove last comma
if(exceptionRange.size())
BridgeSettingSet("Exceptions", "IgnoreRange", exceptionRange.toUtf8().constData());
else
BridgeSettingSet("Exceptions", "IgnoreRange", "");
DbgSettingsUpdated();
}