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

merge fct

parent 0291af95
No related branches found
No related tags found
1 merge request!2314big simplification of job and data view
......@@ -27,18 +27,14 @@
#include <QFormLayout>
#include <QLineEdit>
void AxesPanel::unsubscribe()
{
for (auto* item : allData2DItems())
disconnect(item, nullptr, this, nullptr);
}
void AxesPanel::createPanelElements()
{
if (allData2DItems().empty())
return;
unsubscribe();
for (auto* item : allData2DItems())
disconnect(item, nullptr, this, nullptr);
GUI::Util::Layout::clearLayout(m_main_layout);
m_updaters.clear();
......
......@@ -22,7 +22,6 @@
class AxesPanel : public DataPropertyWidget {
Q_OBJECT
private:
void unsubscribe();
void createPanelElements() override;
};
......
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