From cacfeb331807f965bd0432475c99fe70d8d4e6a4 Mon Sep 17 00:00:00 2001 From: Mathieu Nantel Date: Tue, 25 Jun 2024 19:23:06 -0400 Subject: [PATCH] Increment this->getValue() to reflex port number --- src/deluge/gui/menu_item/gate/selection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deluge/gui/menu_item/gate/selection.h b/src/deluge/gui/menu_item/gate/selection.h index 4c74801328..b3bb2a3ceb 100644 --- a/src/deluge/gui/menu_item/gate/selection.h +++ b/src/deluge/gui/menu_item/gate/selection.h @@ -47,7 +47,7 @@ class Selection final : public menu_item::Selection { soundEditor.currentSourceIndex = this->getValue(); if (display->haveOLED()) { - gateModeMenu.format(this->getValue()); + gateModeMenu.format(this->getValue() + 1); } gateModeMenu.updateOptions(this->getValue());