retreive an index instead of creating
This commit is contained in:
parent
373e6dbda5
commit
eb25959c08
|
@ -19,7 +19,7 @@ UniverseModel::UniverseModel(QObject *parent, std::shared_ptr<DMX::Universe> uni
|
||||||
return;
|
return;
|
||||||
|
|
||||||
data_change_token = universe_->onDataChange([this] (DMX::Universe*) {
|
data_change_token = universe_->onDataChange([this] (DMX::Universe*) {
|
||||||
emit dataChanged(createIndex(0,0), createIndex(rowCount(), columnCount()));
|
emit dataChanged(index(0,0), index(rowCount(), columnCount()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user