Skip to content

Commit 9f2ecea

Browse files
committed
reject box with width < 3 from Ui
1 parent 2af3cb1 commit 9f2ecea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sourceCode/application/ui/stackedProfilBox/widget_stackedprofilbox_editsize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ bool Widget_stackedProfilBox_editSize::pixelWidth_validForComputation(int pixelW
144144
qDebug() << __FUNCTION__ << "if (bEven) {";
145145
return(false);
146146
}
147-
bool bEqualOrGreaterThanOne = (pixelWidth >= 1);
147+
bool bEqualOrGreaterThanOne = (pixelWidth >= 3);
148148

149149
qDebug() << __FUNCTION__ << "bEqualOrGreaterThanOne = " << bEqualOrGreaterThanOne;
150150
return(bEqualOrGreaterThanOne);

0 commit comments

Comments
 (0)