Skip to content

Commit b05f95f

Browse files
author
Igor Evdokimov
committed
- exception message fix
1 parent b3fb014 commit b05f95f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Botticelli.Controls.Layouts/Inlines/InlineButtonMenu.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public class InlineButtonMenu : ILayout
1010

1111
public InlineButtonMenu(int rows, int columns)
1212
{
13-
if (rows < 1) throw new InvalidDataException("rows count should be > 1!");
14-
if (columns < 1) throw new InvalidDataException("columns count should be > 1!");
13+
if (rows < 1) throw new InvalidDataException("rows count should be > 0!");
14+
if (columns < 1) throw new InvalidDataException("columns count should be > 0!");
1515

1616
_rows = rows;
1717
_columns = columns;

0 commit comments

Comments
 (0)