InterfaceItemNameLabel now handles DisplayName attribute changes

Dieser Commit ist enthalten in:
Reinder Feenstra 2024-01-22 22:34:05 +01:00
Ursprung 4497d75e7a
Commit 2e98e3931f

Datei anzeigen

@ -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;
}