data: improvements on error management
* mark all files with errors as incomplete * fix incomplete label in codeview tooltip not updated properly * added setting for canceling indexing for files with fatal errors
This commit is contained in:
@@ -56,6 +56,11 @@ void QtCodeFileTitleButton::setModificationTime(const TimePoint modificationTime
|
||||
|
||||
void QtCodeFileTitleButton::setIsComplete(bool isComplete)
|
||||
{
|
||||
if (m_isComplete == isComplete)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
m_isComplete = isComplete;
|
||||
setProperty("complete", isComplete);
|
||||
|
||||
@@ -70,6 +75,8 @@ void QtCodeFileTitleButton::setIsComplete(bool isComplete)
|
||||
{
|
||||
setStyleSheet("");
|
||||
}
|
||||
|
||||
updateTexts();
|
||||
}
|
||||
|
||||
void QtCodeFileTitleButton::setProject(const std::string& name)
|
||||
|
||||
Reference in New Issue
Block a user