increase max port count to 15

main
Trisha 2021-10-19 11:19:50 -05:00
parent 3a8fdbe6cd
commit 33f2891773
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ impl GuiClient <'_> {
ports_col: &mut Flex, ports_col: &mut Flex,
fltk_tx: fltk::app::Sender <Message> fltk_tx: fltk::app::Sender <Message>
) { ) {
const MAX_PORTS: usize = 5; const MAX_PORTS: usize = 15;
if self.ports.len () >= MAX_PORTS { if self.ports.len () >= MAX_PORTS {
return; return;