diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-15 20:36:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-15 20:36:32 +0100 |
| commit | b4488bd72fcbcc3fe393724c9f4c65697fa949b6 (patch) | |
| tree | c2e0f4228095774287d725cfa14f786f327e507c /src/wx/wx_util.cc | |
| parent | db40e9a10b22085d124521763a8f12a290ba76f7 (diff) | |
Get prefs icons from the source tree on when starting from the macOS console.
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
