Пример #1
0
 void Update(const CatalogItemPtr& item) override
 {
     auto text = CommentDialog::RemoveStartHash(item->GetComment());
     text.Trim();
     m_comment->SetLanguage(m_parent->GetCurrentLanguage());
     m_comment->SetAndWrapText(text);
 }
Пример #2
0
 void Update(const CatalogItemPtr& item) override
 {
     auto text = CommentDialog::RemoveStartHash(item->GetComment());
     text.Trim();
     m_comment->SetAndWrapLabel(text);
 }