mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-03 10:28:41 +03:00
fix some bug
This commit is contained in:
@@ -124,7 +124,8 @@ void SendToPrinterDialog::on_rename_enter()
|
||||
auto m_valid_type = Valid;
|
||||
wxString info_line;
|
||||
|
||||
const char* unusable_symbols = "<>[]:/\\|?*\"";
|
||||
//y51
|
||||
const char* unusable_symbols = "<>[]:\\|?*\"";
|
||||
|
||||
const std::string unusable_suffix = PresetCollection::get_suffix_modified(); //"(modified)";
|
||||
for (size_t i = 0; i < std::strlen(unusable_symbols); i++) {
|
||||
@@ -1286,7 +1287,8 @@ void SendToPrinterDialog::set_default()
|
||||
m_current_project_name = wxString::FromUTF8(filename_path.filename().string());
|
||||
|
||||
//unsupported character filter
|
||||
m_current_project_name = from_u8(filter_characters(m_current_project_name.ToUTF8().data(), "<>[]:/\\|?*\""));
|
||||
//y51
|
||||
m_current_project_name = from_u8(filter_characters(m_current_project_name.ToUTF8().data(), "<>[]:\\|?*\""));
|
||||
|
||||
m_rename_text->SetLabelText(m_current_project_name);
|
||||
m_rename_normal_panel->Layout();
|
||||
|
||||
Reference in New Issue
Block a user