Skip to content
Snippets Groups Projects
Commit 7e105fb8 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

format

parent df5d041d
No related branches found
No related tags found
1 merge request!2633merge fcts, rm unused fcts, etc
Pipeline #148915 passed
......@@ -87,7 +87,7 @@ CentralWidget::CentralWidget()
m_sample_view = new SampleView;
m_data_view = new DataView;
m_simulation_view = new SimulationView;
m_job_view = new JobView(m_progress_bar );
m_job_view = new JobView(m_progress_bar);
m_views_stack->insertWidget(GUI::ID::ViewId::Datafile, m_data_view);
m_views_stack->insertWidget(GUI::ID::ViewId::Instrument, m_instrument_view);
......@@ -129,7 +129,7 @@ void CentralWidget::updateViews(bool open)
for (auto* button : m_view_selection_buttons->buttons())
button->setEnabled(true);
if (auto* filler =
m_view_selection_buttons_layout->itemAt(m_view_selection_buttons->buttons().size()))
m_view_selection_buttons_layout->itemAt(m_view_selection_buttons->buttons().size()))
if (auto* fillerBtn = dynamic_cast<QToolButton*>(filler->widget()))
fillerBtn->setEnabled(true);
}
......
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