diff --git a/rtgui/main.cc b/rtgui/main.cc index 5dd233f23..5b7d9055e 100644 --- a/rtgui/main.cc +++ b/rtgui/main.cc @@ -310,6 +310,10 @@ int main(int argc, char **argv) Gtk::Settings::get_for_screen(screen)->property_gtk_application_prefer_dark_theme() = true; Glib::ustring filename = Glib::build_filename(argv0, "themes", options.theme + ".css"); + if (!Glib::file_test(filename, Glib::FILE_TEST_EXISTS)) { + options.theme = "RawTherapee"; + filename = Glib::build_filename(argv0, "themes", options.theme + ".css"); + } cssRT = Gtk::CssProvider::create(); try {