ui: add menu entry to close the current project (issue #722)
This commit is contained in:
committed by
Eberhard Graether
parent
dc24bae943
commit
6b692ff0e9
@@ -125,7 +125,7 @@ void QtCodeFileTitleBar::setIsComplete(bool isComplete)
|
||||
m_titleButton->setIsComplete(isComplete);
|
||||
m_showErrorsButton->setVisible(!isComplete);
|
||||
|
||||
Project* project = Application::getInstance()->getCurrentProject().get();
|
||||
std::shared_ptr<const Project> project = Application::getInstance()->getCurrentProject();
|
||||
if (project && project->isIndexing())
|
||||
{
|
||||
m_showErrorsButton->setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user