Use default theme if options file sets theme to nothing, "Theme=", fixes #2937
This commit is contained in:
@@ -276,6 +276,10 @@ int main(int argc, char **argv)
|
||||
simpleEditor = true;
|
||||
}
|
||||
|
||||
if (options.theme.empty()) {
|
||||
options.theme = "21-Gray-Gray";
|
||||
}
|
||||
|
||||
if (!options.useSystemTheme) {
|
||||
std::vector<Glib::ustring> rcfiles;
|
||||
rcfiles.push_back (argv0 + "/themes/" + options.theme + ".gtkrc");
|
||||
|
Reference in New Issue
Block a user