MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / whenThemeAdd

Method whenThemeAdd

src/visualmainsettings.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void VisualMainSettings::whenThemeAdd() {
73 ColorTheme *temp = new ColorTheme();
74 temp->setName(tr("New Theme"));
75 editSettings->addColorTheme(temp);
76 resetEditSettings(editSettings);
77 ui->themeComboBox->setCurrentIndex(editSettings->getColorThemeList().size() - 1);
78}
79
80void VisualMainSettings::whenThemeDelete() {
81 if (editSettings->getColorThemeList().size() <= 1)

Callers

nothing calls this directly

Calls 2

setNameMethod · 0.80
addColorThemeMethod · 0.80

Tested by

no test coverage detected