MCPcopy Create free account
hub / github.com/KDE/kdiff3 / setToCurrent

Method setToCurrent

src/optiondialog.cpp:291–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 }
290
291 void setToCurrent() override
292 {
293 if(m_pVarNum != nullptr)
294 setCurrentIndex(*m_pVarNum);
295 else
296 setText(*m_pVarStr);
297 }
298
299 using OptionItemBase::apply;
300 void apply() override

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected