[search] [assessment-tool] Enable the "Initiate background search" button when passing samples from the command line.

This commit is contained in:
Maxim Pimenov 2019-12-04 13:44:28 +03:00 committed by Tatiana Yan
parent 789efa1eb1
commit 380904bcd9

View file

@ -97,6 +97,7 @@ void MainView::SetSamples(ContextList::SamplesSlice const & samples)
{
m_samplesView->SetSamples(samples);
m_sampleView->Clear();
m_initiateBackgroundSearch->setEnabled(true);
}
void MainView::OnSearchStarted()
@ -419,7 +420,6 @@ void MainView::Open()
return;
m_model->Open(file);
m_initiateBackgroundSearch->setEnabled(true);
}
void MainView::Save() { m_model->Save(); }