Fix a bug : Crash when use of a tag in a new operation. Tag must not be taken in account for op_complete.

This commit is contained in:
Grégory Soutadé 2016-09-09 17:38:11 +02:00
parent ed1886fe46
commit 992516d972
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,9 @@ v0.6 (05/11/2015)
** Dev **
Use transactions for SQL updates
** Bugs **
Crash when use of a tag in a new operation
v0.5 (19/06/2015)
** User **
Add tag management

View File

@ -1043,10 +1043,8 @@ void GridAccount::OnOperationModified(int row, int col)
}
catch (User::TagNotFound e)
{
op_complete++;
setItem(row, TAG, new QTableWidgetItem(""));
}
op_complete--;
}
value = item(row, ACCOUNT)->text();