Skip to content
Snippets Groups Projects
Commit 37ca2552 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

.

parent 6802c0d2
No related branches found
No related tags found
1 merge request!2387unify code for list views
...@@ -89,6 +89,7 @@ QModelIndex InstrumentsQModel::pushInstrument(InstrumentItem* t) ...@@ -89,6 +89,7 @@ QModelIndex InstrumentsQModel::pushInstrument(InstrumentItem* t)
beginInsertRows({}, row, row); beginInsertRows({}, row, row);
set()->push_back(t); set()->push_back(t);
endInsertRows(); endInsertRows();
emit set()->setChanged(); emit set()->setChanged();
return createIndex(row, 0); return createIndex(row, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment