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:
@@ -80,7 +80,12 @@ void ErrorController::handleMessage(MessageShowErrors* message)
|
||||
|
||||
clear();
|
||||
|
||||
std::vector<ErrorInfo> errors = m_storageAccess->getErrorsLimited(message->errorIds);
|
||||
std::vector<ErrorInfo> errors;
|
||||
if (!message->showsOnlyErrorIds || message->errorIds.size())
|
||||
{
|
||||
errors = m_storageAccess->getErrorsLimited(message->errorIds);
|
||||
}
|
||||
|
||||
if (errors.size())
|
||||
{
|
||||
getView()->showDockWidget();
|
||||
|
||||
Reference in New Issue
Block a user