mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX:fixed task name too long causing HTTP request failure
Change-Id: I912b1a9c64038c6f236d76bec670a7369d47579a
This commit is contained in:
@@ -2842,6 +2842,11 @@ void SelectMachineDialog::on_rename_enter()
|
||||
m_valid_type = NoValid;
|
||||
}
|
||||
|
||||
if (m_valid_type == Valid && new_file_name.size() >= 100) {
|
||||
info_line = _L("The name length exceeds the limit.");
|
||||
m_valid_type = NoValid;
|
||||
}
|
||||
|
||||
if (m_valid_type != Valid) {
|
||||
MessageDialog msg_wingow(nullptr, info_line, "", wxICON_WARNING | wxOK);
|
||||
if (msg_wingow.ShowModal() == wxID_OK) {
|
||||
|
||||
Reference in New Issue
Block a user