2021-09-21 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlibrary(1) that failed to update the
	length of macro carts after editing.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-21 11:55:42 -04:00
parent acd80bcd65
commit bf1d015cb4
6 changed files with 40 additions and 12 deletions

View File

@@ -48,6 +48,7 @@ class RDMacroCartModel : public QAbstractTableModel
bool isEndHandle(const QModelIndex &row) const;
QString code(const QModelIndex &row) const;
QString allCode() const;
int totalLength() const;
QModelIndex addLine(const QModelIndex &row,const QString &rml);
void removeLine(const QModelIndex &row);
void refresh(const QModelIndex &row,const QString &rml);