MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetStringList

Method SetStringList

plugins/http/key-value-list.cpp:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void KeyValueListEdit::SetStringList(const StringList &list)
25{
26 _stringList = list;
27 _list->clear();
28
29 for (int i = 0; i < list.size(); i += 2) {
30 AppendListEntryWidget(
31 list.at(i), i + 1 >= list.size() ? "" : list.at(i + 1));
32 }
33 UpdateListSize();
34}
35
36void KeyValueListEdit::Add()
37{

Callers 3

UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
SetProcessConfigMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected