GoTo dialogs: Restrict input values to existing pages

This commit is contained in:
Felix Kauselmann
2021-07-06 10:27:24 +02:00
parent 54b9952253
commit df32cf01fb
3 changed files with 9 additions and 13 deletions

View File

@ -11,7 +11,7 @@
GoToFlowWidget::GoToFlowWidget(QWidget *parent)
: QWidget(parent)
{
mainLayout = new QVBoxLayout;
mainLayout = new QVBoxLayout(this);
mainLayout->setMargin(0);
mainLayout->setSpacing(0);
@ -22,11 +22,7 @@ GoToFlowWidget::GoToFlowWidget(QWidget *parent)
//toolBar->installEventFilter(this);
}
GoToFlowWidget::~GoToFlowWidget()
{
delete toolBar;
delete mainLayout;
}
GoToFlowWidget::~GoToFlowWidget() { }
void GoToFlowWidget::setPageNumber(int page)
{