[LyX/master] Search ipa image dir befor top dir
Juergen Spitzmueller
spitz at lyx.org
Thu Dec 10 05:39:08 UTC 2020
commit f9b817676aff4751e072e02a8b304c2d64a20ef2
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Thu Dec 10 07:08:04 2020 +0100
Search ipa image dir befor top dir
Else the unknown icon is found before the proper icon.
This unbreaks IPA panel top icons
---
src/frontends/qt/GuiApplication.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/GuiApplication.cpp b/src/frontends/qt/GuiApplication.cpp
index 8ab89b8..9ff6d2c 100644
--- a/src/frontends/qt/GuiApplication.cpp
+++ b/src/frontends/qt/GuiApplication.cpp
@@ -527,7 +527,7 @@ pair<QString,bool> iconName(FuncRequest const & f, bool unknown, bool rtl)
search_mode const mode = theGuiApp()->imageSearchMode();
// The folders where icons are searched for
QStringList imagedirs;
- imagedirs << "images/" << "images/ipa/";
+ imagedirs << "images/ipa/" << "images/";
// This is used to search for rtl version of icons which have the +rrtl suffix.
QStringList suffixes;
if (rtl)
More information about the lyx-cvs
mailing list