Fix that the new trigger can not be displayed.
This commit is contained in:
parent
7f67acdbc8
commit
1ff527e52b
|
@ -231,8 +231,8 @@ void COptionsWindow::LoadAdvanced()
|
|||
AddTriggerItem(Value, eAutoExec);
|
||||
foreach(const QString & Value, m_pBox->GetTextList("OnFileRecovery", m_Template))
|
||||
AddTriggerItem(Value, eRecoveryCheck);
|
||||
foreach(const QString & Value, m_pBox->GetTextList("OnBoxDelete", m_Template))
|
||||
AddTriggerItem(Value, eDeleteCmd);
|
||||
foreach(const QString& Value, m_pBox->GetTextList("OnBoxTerminate", m_Template))
|
||||
AddTriggerItem(Value, eTerminateCmd);
|
||||
|
||||
ShowTriggersTmpl();
|
||||
//
|
||||
|
@ -300,6 +300,8 @@ void COptionsWindow::ShowTriggersTmpl(bool bUpdate)
|
|||
AddTriggerItem(Value, eRecoveryCheck, Template);
|
||||
foreach(const QString & Value, m_pBox->GetTextListTmpl("OnBoxDelete", Template))
|
||||
AddTriggerItem(Value, eDeleteCmd, Template);
|
||||
foreach(const QString & Value, m_pBox->GetTextListTmpl("OnBoxTerminate", Template))
|
||||
AddTriggerItem(Value, eTerminateCmd, Template);
|
||||
}
|
||||
}
|
||||
else if (bUpdate)
|
||||
|
|
Loading…
Reference in New Issue