Skip to content
Snippets Groups Projects
Commit 32f684b6 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

InstrumentView: comment 'onInstrumentChangedByEditor'

parent 3e283b5a
No related branches found
No related tags found
1 merge request!1449Explain purpose of 'onInstrumentChangedByEditor' methods (#514)
...@@ -168,6 +168,9 @@ void InstrumentView::onInstrumentdescriptionEdited(const QString& t) ...@@ -168,6 +168,9 @@ void InstrumentView::onInstrumentdescriptionEdited(const QString& t)
void InstrumentView::onInstrumentChangedByEditor() void InstrumentView::onInstrumentChangedByEditor()
{ {
// uses 'MultiInstrumentNotifier::instrumentChanged' signal for two purposes:
// 1) notify 'ProjectDocument' that user has changed data ==> mark project with '*'
// 2) notify 'LinkInstrumentManager' ==> unlink instrument from data if they are incompatible
m_document->multiNotifier()->notifyInstrumentChanged( m_document->multiNotifier()->notifyInstrumentChanged(
m_instrumentListView->currentInstrumentItem()); m_instrumentListView->currentInstrumentItem());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment