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
+1 -1
View File
@@ -93,7 +93,7 @@
<navigation>
<background>#494949</background>
<text>#CCCCCC</text>
<line>#999</line>
<line>#CCCCCC</line>
</navigation>
<file>
+1 -1
View File
@@ -93,7 +93,7 @@
<navigation>
<background>white</background>
<text>#727272</text>
<line>#D2D2D2</line>
<line>#A2A2A2</line>
</navigation>
<file>
+1 -1
View File
@@ -93,7 +93,7 @@
<navigation>
<background>#272728</background>
<text>#C5C5C5</text>
<line>#525253</line>
<line>#CCC</line>
</navigation>
<file>
@@ -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();
}
}