MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setReadOnly

Method setReadOnly

source/frontend/StarCharSelection.cpp:133–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void CharSelectionPane::setReadOnly(bool readOnly) {
134 findChild("createCharButton")->setVisibility(!(m_readOnly = readOnly));
135}
136
137}

Callers 2

JsonEditorMethod · 0.80
MainInterfaceMethod · 0.80

Calls 1

setVisibilityMethod · 0.80

Tested by

no test coverage detected