FIX: do not hide the cancel if there are errors
jira: [STUDIO-11564] Change-Id: I16f4de119a1da0bd618ae7f60d2f4b42bc249386
This commit is contained in:
parent
8c4c216c67
commit
994a2c3fdd
|
@ -177,8 +177,10 @@ void BBLStatusBarPrint::set_range(int val)
|
||||||
void BBLStatusBarPrint::clear_percent()
|
void BBLStatusBarPrint::clear_percent()
|
||||||
{
|
{
|
||||||
//set_percent_text(wxEmptyString);
|
//set_percent_text(wxEmptyString);
|
||||||
|
if (!m_link_show_error->IsShown()) /*do not hide cancel if there are errors*/ {
|
||||||
m_cancelbutton->Hide();
|
m_cancelbutton->Hide();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void BBLStatusBarPrint::show_error_info(wxString msg, int code, wxString description, wxString extra)
|
void BBLStatusBarPrint::show_error_info(wxString msg, int code, wxString description, wxString extra)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue