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:
2016-09-09 17:38:11 +02:00
parent ed1886fe46
commit 992516d972
2 changed files with 3 additions and 2 deletions

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();