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>
|
||||
<background>#494949</background>
|
||||
<text>#CCCCCC</text>
|
||||
<line>#999</line>
|
||||
<line>#CCCCCC</line>
|
||||
</navigation>
|
||||
|
||||
<file>
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
<navigation>
|
||||
<background>white</background>
|
||||
<text>#727272</text>
|
||||
<line>#D2D2D2</line>
|
||||
<line>#A2A2A2</line>
|
||||
</navigation>
|
||||
|
||||
<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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user