Skip to content

Commit

Permalink
Fixed initialization of SizeProperty::m_minimum
Browse files Browse the repository at this point in the history
This was causing the map size display to sometimes display way too large
values.
  • Loading branch information
bjorn committed Nov 5, 2024
1 parent 2cabfad commit 13fe21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tiled/varianteditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ struct SizeProperty : PropertyTemplate<QSize>
void setSuffix(const QString &suffix) { m_suffix = suffix; }

private:
int m_minimum;
int m_minimum = 0;
QString m_suffix;
};

Expand Down

0 comments on commit 13fe21e

Please sign in to comment.