Commit c4931072 authored by Richard Berger's avatar Richard Berger
Browse files

Hide secret styles

parent 758c8123
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1028,6 +1028,8 @@ static vector<string> get_style_names(map<string, ValueType> * styles)

  names.reserve(styles->size());
  for(auto const& kv : *styles) {
    // skip "secret" styles
    if (isupper(kv.first[0])) continue;
    names.push_back(kv.first);
  }