FIX: the single AMS failed to show
jira: [STUDIO-9445] Change-Id: I8a565f50a109355f85a66567d242998b26fa4bdc (cherry picked from commit 5ca6d99fd697144eb50e06436a3296ab91880287)
This commit is contained in:
@@ -3778,7 +3778,7 @@ void GUI_App::load_gcode(wxWindow* parent, wxString& input_file) const
|
||||
input_file = dialog.GetPath();
|
||||
}
|
||||
|
||||
wxString GUI_App::transition_tridid(int trid_id)
|
||||
wxString GUI_App::transition_tridid(int trid_id) const
|
||||
{
|
||||
wxString maping_dict[] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" };
|
||||
|
||||
@@ -3794,6 +3794,19 @@ wxString GUI_App::transition_tridid(int trid_id)
|
||||
}
|
||||
}
|
||||
|
||||
wxString GUI_App::transition_tridid(int trid_id, bool is_n3s) const
|
||||
{
|
||||
if (is_n3s)
|
||||
{
|
||||
const char base = 'A' + (trid_id - 128);
|
||||
wxString prefix("HT-");
|
||||
prefix.append(base);
|
||||
return prefix;
|
||||
}
|
||||
|
||||
return transition_tridid(trid_id);
|
||||
}
|
||||
|
||||
//BBS
|
||||
void GUI_App::request_login(bool show_user_info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user