data: fixed issues with errors in incomplete files

* fixed intermediatestorage merges might lose file indexed/complete information
* fixed changing file complete to true only possible if the file has no errors
* fixed clicking show errors for a file where no asociated errors were found showed all errors
This commit is contained in:
Eberhard Graether
2018-06-18 20:31:52 +02:00
parent 009404dd37
commit c4901b6a7f
11 changed files with 91 additions and 28 deletions
@@ -18,6 +18,7 @@ public:
MessageShowErrors(const std::vector<Id>& errorIds)
: errorIds(errorIds)
, errorId(0)
, showsOnlyErrorIds(true)
{
}
@@ -34,6 +35,8 @@ public:
const ErrorCountInfo errorCount;
const std::vector<Id> errorIds;
const Id errorId;
bool showsOnlyErrorIds = false;
};
#endif // MESSAGE_SHOW_ERRORS_H