FIX:Fix incomplete prompt message display

jira:[STUDIO-12797]

Change-Id: Iefdcf23477b183e7c208092d9da347ee5669f8b3
(cherry picked from commit 081dfec94a95797847f67783f273632a78c3ead2)
This commit is contained in:
milk authored and Noisyfox committed 2025-09-28 15:02:37 +08:00
1 parent 4deb47554a
commit 4bb326db16
3 files changed
+12 -5

No files matched your search

+5 -2
View File
@@ -191,11 +191,11 @@ static wxColour _GetLabelColour(const prePrintInfo& info)
return *wxBLACK; // Default colour for normal messages
}
void PrinterMsgPanel::UpdateInfos(const std::vector<prePrintInfo>& infos)
bool PrinterMsgPanel::UpdateInfos(const std::vector<prePrintInfo>& infos)
{
if (m_infos == infos)
{
return;
return false;
}
m_infos = infos;
@@ -229,7 +229,10 @@ void PrinterMsgPanel::UpdateInfos(const std::vector<prePrintInfo>& infos)
this->Show();
this->Layout();
Fit();
return true;
}