diff --git a/client/src/widget/interfaceitemnamelabel.cpp b/client/src/widget/interfaceitemnamelabel.cpp index 7bae026e..f6f64394 100644 --- a/client/src/widget/interfaceitemnamelabel.cpp +++ b/client/src/widget/interfaceitemnamelabel.cpp @@ -3,7 +3,7 @@ * * This file is part of the traintastic source code. * - * Copyright (C) 2021 Reinder Feenstra + * Copyright (C) 2021,2024 Reinder Feenstra * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -38,6 +38,10 @@ InterfaceItemNameLabel::InterfaceItemNameLabel(InterfaceItem& item, QWidget* par setVisible(value.toBool()); break; + case AttributeName::DisplayName: + setText(m_item.displayName()); + break; + default: break; }