MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / on_actionLaunchInstance_triggered

Method on_actionLaunchInstance_triggered

launcher/ui/MainWindow.cpp:2178–2184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2176}
2177
2178void MainWindow::on_actionLaunchInstance_triggered()
2179{
2180 if(m_selectedInstance && !m_selectedInstance->isRunning())
2181 {
2182 APPLICATION->launch(m_selectedInstance);
2183 }
2184}
2185
2186void MainWindow::activateInstance(InstancePtr instance)
2187{

Callers

nothing calls this directly

Calls 2

launchMethod · 0.65
isRunningMethod · 0.45

Tested by

no test coverage detected