Added report variable filler.
This commit is contained in:
@@ -244,6 +244,16 @@ protected:
|
||||
}
|
||||
}
|
||||
|
||||
virtual int currentRecordId()
|
||||
{
|
||||
if (tableView()->currentIndex().isValid())
|
||||
{
|
||||
return m_tableModel->itemFromIndex(tableView()->currentIndex())->id();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void addRow(QSharedPointer<T> entity)
|
||||
{
|
||||
m_tableModel->addRow(entity);
|
||||
|
||||
Reference in New Issue
Block a user