Skip to content
Snippets Groups Projects
Commit 05ca6482 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Bugfix in InstrumentView to not to react on mask changes.

parent 27a780ef
Branches
Tags
No related merge requests found
......@@ -151,7 +151,8 @@ void InstrumentView::onRowsAboutToBeRemoved(QModelIndex parent, int first, int /
ParameterizedItem *item = m_instrumentModel->itemForIndex(m_instrumentModel->index(first,0, parent));
Q_ASSERT(item);
InstrumentEditorWidget *widget = m_instrumentToEditor[item];
Q_ASSERT(widget);
if(!widget) return;
QMap<ParameterizedItem *, InstrumentEditorWidget *>::iterator it = m_instrumentToEditor.begin();
while(it!=m_instrumentToEditor.end()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment