--- gigedit/trunk/src/gigedit/mainwindow.cpp 2020/07/25 09:28:56 3799 +++ gigedit/trunk/src/gigedit/mainwindow.cpp 2020/07/26 13:27:16 3800 @@ -4375,10 +4375,11 @@ Gtk::TreeModel::iterator iterInstr = m_refTreeModel->append(); Gtk::TreeModel::Row rowInstr = *iterInstr; const int index = m_refTreeModel->children().size() - 1; + const int iScriptSlots = instrument->ScriptSlotCount(); rowInstr[m_Columns.m_col_nr] = index; rowInstr[m_Columns.m_col_name] = name; rowInstr[m_Columns.m_col_instr] = instrument; - rowInstr[m_Columns.m_col_scripts] = ""; + rowInstr[m_Columns.m_col_scripts] = iScriptSlots ? ToString(iScriptSlots) : ""; rowInstr[m_Columns.m_col_tooltip] = scriptTooltipFor(instrument, index); instrument_name_connection.unblock();