public void killAndRestart(QNode selected, string runOn) { if (selected is LiveMarketNode || selected is LiveSystemNode) { killAndRestart(selected.parent(), runOn); return; } restart(runOn, selected.text); }
public static void kill(QNode selected) { if (selected is LiveMarketNode || selected is LiveSystemNode) { kill(selected.parent()); return; } kill(selected.text); }