Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb74b2b
)
ecere/gui/DropBox: Fixed File Dialogs having blacked out selected 'Look in'
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 26 Apr 2016 02:30:55 +0000
(22:30 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 2 Jul 2016 20:40:43 +0000
(16:40 -0400)
- Was using guiApp.currentSkin which is not yet set up during global instances construction
ecere/src/gui/controls/DropBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/DropBox.ec
b/ecere/src/gui/controls/DropBox.ec
index
aacf773
..
3600b69
100644
(file)
--- a/
ecere/src/gui/controls/DropBox.ec
+++ b/
ecere/src/gui/controls/DropBox.ec
@@
-938,6
+938,7
@@
private:
DataRow noneRow;
ColorAlpha selectionColor, selectionText;
- selectionColor = SELECTION_COLOR;
- selectionText = SELECTION_TEXT;
+ // TO REVIEW: This was blacked out when currentSkin was not yet initialized
+ selectionColor = guiApp.currentSkin ? SELECTION_COLOR : Color { 10, 36, 106 };
+ selectionText = guiApp.currentSkin ? SELECTION_TEXT : white;
};