From 287e65b514b28a5154490ea6344d63f38fece322 Mon Sep 17 00:00:00 2001 From: t Date: Thu, 6 Feb 2025 13:03:48 -0500 Subject: [PATCH] stop disabling spinboxes in resize popup --- src/ui/resizelayoutpopup.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ui/resizelayoutpopup.cpp b/src/ui/resizelayoutpopup.cpp index 12855843..45559b70 100644 --- a/src/ui/resizelayoutpopup.cpp +++ b/src/ui/resizelayoutpopup.cpp @@ -118,8 +118,6 @@ void ResizeLayoutPopup::setupLayoutView() { this->ui->spinBox_borderHeight->setMinimum(1); this->ui->spinBox_borderWidth->setMaximum(MAX_BORDER_WIDTH); this->ui->spinBox_borderHeight->setMaximum(MAX_BORDER_HEIGHT); - this->ui->spinBox_borderWidth->setLineEditEnabled(false); - this->ui->spinBox_borderHeight->setLineEditEnabled(false); } else { this->ui->frame_border->setVisible(false); } @@ -140,9 +138,6 @@ void ResizeLayoutPopup::setupLayoutView() { this->ui->spinBox_height->setMinimum(1); this->ui->spinBox_height->setMaximum(maxHeight); - //this->ui->spinBox_width->setLineEditEnabled(false); - //this->ui->spinBox_height->setLineEditEnabled(false); - static bool layoutSizeRectVisible = true; this->outline = new ResizableRect(this, &layoutSizeRectVisible, this->editor->layout->getWidth(), this->editor->layout->getHeight(), qRgb(255, 0, 255));