FIX:Fix incomplete prompt message display
jira:[STUDIO-12797] Change-Id: Iefdcf23477b183e7c208092d9da347ee5669f8b3 (cherry picked from commit 081dfec94a95797847f67783f273632a78c3ead2)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user