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

Method UpdateEntryData

plugins/base/macro-action-plugin-state.cpp:322–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322void MacroActionPluginStateEdit::UpdateEntryData()
323{
324 if (!_entryData) {
325 return;
326 }
327 _actions->setCurrentIndex(static_cast<int>(_entryData->_action));
328 populateValueSelection(_values, _entryData->_action);
329 _values->setCurrentIndex(_entryData->_value);
330 _scenes->setCurrentText(GetWeakSourceName(_entryData->_scene).c_str());
331 _settings->SetPath(_entryData->_settingsPath);
332 _confirmShutdown->setChecked(_entryData->_confirmShutdown);
333 SetWidgetVisibility();
334}
335
336void MacroActionPluginStateEdit::ActionChanged(int value)
337{

Callers

nothing calls this directly

Calls 6

populateValueSelectionFunction · 0.85
GetWeakSourceNameFunction · 0.85
setCurrentTextMethod · 0.80
setCheckedMethod · 0.80
c_strMethod · 0.45
SetPathMethod · 0.45

Tested by

no test coverage detected