Skip to content

Commit

Permalink
stop disabling spinboxes in resize popup
Browse files Browse the repository at this point in the history
  • Loading branch information
garakmon committed Feb 6, 2025
1 parent 5177392 commit 287e65b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ui/resizelayoutpopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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));
Expand Down

0 comments on commit 287e65b

Please sign in to comment.