NOISSUE automatically open the log page when starting the instance

This commit is contained in:
Petr Mrázek 2019-07-24 00:24:02 +02:00
parent a0e45c5d1d
commit c3e61536a3

View File

@ -149,10 +149,13 @@ void InstanceWindow::on_InstanceLaunchTask_changed(shared_qobject_ptr<LaunchTask
m_proc = proc; m_proc = proc;
} }
void InstanceWindow::on_RunningState_changed(bool) void InstanceWindow::on_RunningState_changed(bool running)
{ {
updateLaunchButtons(); updateLaunchButtons();
m_container->refreshContainer(); m_container->refreshContainer();
if(running) {
selectPage("log");
}
} }
void InstanceWindow::on_closeButton_clicked() void InstanceWindow::on_closeButton_clicked()