increase max port count to 15
parent
3a8fdbe6cd
commit
33f2891773
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue