ui: Fixed file title button icon color not changing for top snippet title bar when changing color scheme

This commit is contained in:
Eberhard Graether
2018-01-29 14:51:57 +01:00
parent 9f70423f25
commit 556ed98d8c
4 changed files with 6 additions and 3 deletions
@@ -430,6 +430,9 @@ void QtCodeFileList::updateFirstSnippetTitleBar(const QtCodeFile* file, int file
}
else
{
// Forces the title button icon to get reloaded next time, which fixes a color change issue when changing
// color scheme
m_firstSnippetTitleBar->getTitleButton()->setFilePath(FilePath());
m_firstSnippetTitleBar->hide();
}
}