mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-20 06:30:03 +03:00
Ruler has been fixed
This commit is contained in:
@@ -718,10 +718,10 @@ QVariant CallbackDatasource::dataByRowIndex(const QString &columnName, int rowIn
|
||||
QVariant CallbackDatasource::dataByKeyField(const QString& columnName, const QString& keyColumnName, QVariant keyData)
|
||||
{
|
||||
int backupCurrentRow = m_currentRow;
|
||||
int currentRow = 0;
|
||||
QVariant result = QVariant();
|
||||
first();
|
||||
if (!checkIfEmpty()){
|
||||
int currentRow = 0;
|
||||
do {
|
||||
QVariant key = callbackData(keyColumnName, currentRow);
|
||||
if (key == keyData){
|
||||
|
||||
Reference in New Issue
Block a user