mirror of
https://github.com/leozide/leocad
synced 2025-01-28 19:58:12 +01:00
Fixed warning.
This commit is contained in:
parent
d5bcf46da1
commit
9d7fdf0b82
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ void lcQColorList::keyPressEvent(QKeyEvent *event)
|
|||
}
|
||||
else if (event->key() == Qt::Key_Down)
|
||||
{
|
||||
size_t NumColors = gColorGroups[CurGroup].Colors.size();
|
||||
int NumColors = (int)gColorGroups[CurGroup].Colors.size();
|
||||
|
||||
if (mCurCell + mColumns < NumCells + NumColors)
|
||||
NewCell = mCurCell + mColumns;
|
||||
|
|
Loading…
Add table
Reference in a new issue