Skip to content
Snippets Groups Projects
Commit 80f17e0c authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

MainWindow: activate job

parent 1fe1a138
No related branches found
No related tags found
1 merge request!1025GUI: remember docks sizes and tabs indices
......@@ -158,9 +158,6 @@ void JobView::connectJobRelated()
connect(m_fitActivityPanel, &FitActivityPanel::showLog, m_jobMessagePanel,
&JobMessagePanel::setLog);
// activate view for the selected job at project opening
m_jobSelector->selectedJobsChanged(m_jobSelector->selectedJobs());
}
//! Sets appropriate activity and presentation for new JobItem
......
......@@ -268,6 +268,11 @@ void MainWindow::initViews()
settings.endGroup();
connect(m_jobView, &JobView::focusRequest, this, &MainWindow::onFocusRequest);
// Activate view for the selected job at project opening.
// After that we can got to the initial view
onFocusRequest(ViewId::JOB);
m_jobView->onSelectionChanged();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment