Skip to content

Commit

Permalink
Fix: save and load with temporal or logical simulation are working well
Browse files Browse the repository at this point in the history
  • Loading branch information
Esteves31 committed Nov 14, 2024
1 parent 258bc80 commit cf41e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/bewaveddolphin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1209,10 +1209,11 @@ void BewavedDolphin::save(QDataStream &stream)
qCDebug(zero) << tr("Serializing data into data stream.");
stream << static_cast<qint64>(m_inputPorts);
stream << static_cast<qint64>(m_model->columnCount());

qDebug() << "===========";
for (int col = 0; col < m_model->columnCount(); ++col) {
for (int row = 0; row < m_inputPorts; ++row) {
const int val = m_model->index(row, col).data().toInt();
qDebug() << val;
stream << static_cast<qint64>(val);
}
}
Expand Down

0 comments on commit cf41e11

Please sign in to comment.