4375 |
Gtk::TreeModel::iterator iterInstr = m_refTreeModel->append(); |
Gtk::TreeModel::iterator iterInstr = m_refTreeModel->append(); |
4376 |
Gtk::TreeModel::Row rowInstr = *iterInstr; |
Gtk::TreeModel::Row rowInstr = *iterInstr; |
4377 |
const int index = m_refTreeModel->children().size() - 1; |
const int index = m_refTreeModel->children().size() - 1; |
4378 |
|
const int iScriptSlots = instrument->ScriptSlotCount(); |
4379 |
rowInstr[m_Columns.m_col_nr] = index; |
rowInstr[m_Columns.m_col_nr] = index; |
4380 |
rowInstr[m_Columns.m_col_name] = name; |
rowInstr[m_Columns.m_col_name] = name; |
4381 |
rowInstr[m_Columns.m_col_instr] = instrument; |
rowInstr[m_Columns.m_col_instr] = instrument; |
4382 |
rowInstr[m_Columns.m_col_scripts] = ""; |
rowInstr[m_Columns.m_col_scripts] = iScriptSlots ? ToString(iScriptSlots) : ""; |
4383 |
rowInstr[m_Columns.m_col_tooltip] = scriptTooltipFor(instrument, index); |
rowInstr[m_Columns.m_col_tooltip] = scriptTooltipFor(instrument, index); |
4384 |
instrument_name_connection.unblock(); |
instrument_name_connection.unblock(); |
4385 |
|
|