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:
parent
ed1886fe46
commit
992516d972
|
@ -5,6 +5,9 @@ v0.6 (05/11/2015)
|
||||||
** Dev **
|
** Dev **
|
||||||
Use transactions for SQL updates
|
Use transactions for SQL updates
|
||||||
|
|
||||||
|
** Bugs **
|
||||||
|
Crash when use of a tag in a new operation
|
||||||
|
|
||||||
v0.5 (19/06/2015)
|
v0.5 (19/06/2015)
|
||||||
** User **
|
** User **
|
||||||
Add tag management
|
Add tag management
|
||||||
|
|
|
@ -1043,10 +1043,8 @@ void GridAccount::OnOperationModified(int row, int col)
|
||||||
}
|
}
|
||||||
catch (User::TagNotFound e)
|
catch (User::TagNotFound e)
|
||||||
{
|
{
|
||||||
op_complete++;
|
|
||||||
setItem(row, TAG, new QTableWidgetItem(""));
|
setItem(row, TAG, new QTableWidgetItem(""));
|
||||||
}
|
}
|
||||||
op_complete--;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
value = item(row, ACCOUNT)->text();
|
value = item(row, ACCOUNT)->text();
|
||||||
|
|
Loading…
Reference in New Issue