From b4488bd72fcbcc3fe393724c9f4c65697fa949b6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Mar 2024 20:36:32 +0100 Subject: Get prefs icons from the source tree on when starting from the macOS console. --- src/wx/wx_util.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index c0f90bd25..28ac6ab5c 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -670,6 +670,10 @@ bitmap_path (string name) } else { base = resources_path(); } + + if (!boost::filesystem::exists(base / name)) { + base = path / boost::filesystem::path("osx/preferences"); + } #else base = resources_path(); #endif -- cgit v1.2.3