ui: Fixed file title button icon color not changing for top snippet title bar when changing color scheme
This commit is contained in:
@@ -93,7 +93,7 @@
|
|||||||
<navigation>
|
<navigation>
|
||||||
<background>#494949</background>
|
<background>#494949</background>
|
||||||
<text>#CCCCCC</text>
|
<text>#CCCCCC</text>
|
||||||
<line>#999</line>
|
<line>#CCCCCC</line>
|
||||||
</navigation>
|
</navigation>
|
||||||
|
|
||||||
<file>
|
<file>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
<navigation>
|
<navigation>
|
||||||
<background>white</background>
|
<background>white</background>
|
||||||
<text>#727272</text>
|
<text>#727272</text>
|
||||||
<line>#D2D2D2</line>
|
<line>#A2A2A2</line>
|
||||||
</navigation>
|
</navigation>
|
||||||
|
|
||||||
<file>
|
<file>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
<navigation>
|
<navigation>
|
||||||
<background>#272728</background>
|
<background>#272728</background>
|
||||||
<text>#C5C5C5</text>
|
<text>#C5C5C5</text>
|
||||||
<line>#525253</line>
|
<line>#CCC</line>
|
||||||
</navigation>
|
</navigation>
|
||||||
|
|
||||||
<file>
|
<file>
|
||||||
|
|||||||
@@ -430,6 +430,9 @@ void QtCodeFileList::updateFirstSnippetTitleBar(const QtCodeFile* file, int file
|
|||||||
}
|
}
|
||||||
else
|
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();
|
m_firstSnippetTitleBar->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user