| 118 | } |
| 119 | |
| 120 | void CInstrumentEditorSeq::UpdateSequenceString(bool Changed) // // // |
| 121 | { |
| 122 | // Update sequence string |
| 123 | SetupParser(); // // // |
| 124 | SetDlgItemTextW(IDC_SEQUENCE_STRING, conv::to_wide(m_pParser->PrintSequence()).data()); // // // |
| 125 | // If the sequence was changed, assume the user wants to enable it |
| 126 | if (Changed) { |
| 127 | static_cast<CListCtrl*>(GetDlgItem(IDC_INSTSETTINGS))->SetCheck(value_cast(m_iSelectedSetting), 1); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | BEGIN_MESSAGE_MAP(CInstrumentEditorSeq, CSequenceInstrumentEditPanel) |
| 132 | ON_NOTIFY(LVN_ITEMCHANGED, IDC_INSTSETTINGS, OnLvnItemchangedInstsettings) |
no test coverage detected