示例#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
文件: sidebar.cpp 项目: ryoon/poedit
 void Update(const CatalogItemPtr& item) override
 {
     auto text = CommentDialog::RemoveStartHash(item->GetComment());
     text.Trim();
     m_comment->SetAndWrapLabel(text);
 }