Add the user directory as the first path to search for the tags palette (fix #4182)

This commit is contained in:
Martín Capello 2024-01-17 18:10:05 -03:00 committed by David Capello
parent 40863a3a5e
commit 799b3e1918

View File

@ -188,6 +188,7 @@ ColorPopup::ColorPopup(const ColorButtonOptions& options)
if (options.showSimpleColors) {
if (!g_simplePal) {
ResourceFinder rf;
rf.includeUserDir("palettes/tags.gpl");
rf.includeDataDir("palettes/tags.gpl");
if (rf.findFirst())
g_simplePal = load_palette(rf.filename().c_str());