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

Method startCommand

source/frontend/StarChat.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void Chat::startCommand() {
137 if (m_scripted)
138 m_script.invoke("startCommand");
139 else {
140 show();
141 m_textBox->setText("/");
142 m_textBox->focus();
143 }
144}
145
146bool Chat::hasFocus() const {
147 if (m_scripted)

Callers 1

handleInputEventMethod · 0.80

Calls 3

focusMethod · 0.80
invokeMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected