SIEdit/app/panels/panel.cpp
2022-06-24 10:46:25 -07:00

21 lines
240 B
C++

#include "panel.h"
Panel::Panel(QWidget *parent)
: QWidget{parent},
data_(nullptr)
{
}
void Panel::SetData(Data *data)
{
if (data_) {
OnClosingData(data_);
}
data_ = data;
if (data_) {
OnOpeningData(data_);
}
}