diff --git a/src/deluge/gui/menu_item/menu_item.h b/src/deluge/gui/menu_item/menu_item.h index be37321a85..2757719996 100644 --- a/src/deluge/gui/menu_item/menu_item.h +++ b/src/deluge/gui/menu_item/menu_item.h @@ -95,7 +95,7 @@ class MenuItem { /// /// The returned pointer must live long enough for us to draw the title, which for practical purposes means "the /// lifetime of this menu item" - [[nodiscard]] virtual std::string_view getTitle() const { return deluge::l10n::getView(name); } + [[nodiscard]] virtual std::string_view getTitle() const { return deluge::l10n::getView(title); } virtual void renderOLED(); virtual void drawPixelsForOled() {}