Fix possible crash in intro widget.

This commit is contained in:
John Preston 2020-07-02 10:42:09 +04:00
parent f1b4a82015
commit 17312a1eec

View File

@ -725,6 +725,9 @@ void Widget::paintEvent(QPaintEvent *e) {
}
void Widget::resizeEvent(QResizeEvent *e) {
if (_stepHistory.empty()) {
return;
}
for (const auto step : _stepHistory) {
step->setGeometry(rect());
}