MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / updateState

Method updateState

pcsx2-qt/Settings/MemoryCardCreateDialog.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void MemoryCardCreateDialog::updateState()
90{
91 const bool okay = (m_ui.name->text().length() > 0);
92
93 m_ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(okay);
94#ifdef _WIN32
95 m_ui.ntfsCompression->setEnabled(m_type == MemoryCardType::File);
96#endif
97}
98
99void MemoryCardCreateDialog::createCard()
100{

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected