mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-09 08:59:10 +08:00
PrintHostDialogs: Disable smart substitutions on Mac
This commit is contained in:
parent
de70b6a06a
commit
24d736f736
@ -30,6 +30,10 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path)
|
|||||||
, txt_filename(new wxTextCtrl(this, wxID_ANY, path.filename().wstring()))
|
, txt_filename(new wxTextCtrl(this, wxID_ANY, path.filename().wstring()))
|
||||||
, box_print(new wxCheckBox(this, wxID_ANY, _(L("Start printing after upload"))))
|
, box_print(new wxCheckBox(this, wxID_ANY, _(L("Start printing after upload"))))
|
||||||
{
|
{
|
||||||
|
#ifdef __APPLE__
|
||||||
|
txt_filename->OSXDisableAllSmartSubstitutions();
|
||||||
|
#endif
|
||||||
|
|
||||||
auto *label_dir_hint = new wxStaticText(this, wxID_ANY, _(L("Use forward slashes ( / ) as a directory separator if needed.")));
|
auto *label_dir_hint = new wxStaticText(this, wxID_ANY, _(L("Use forward slashes ( / ) as a directory separator if needed.")));
|
||||||
label_dir_hint->Wrap(CONTENT_WIDTH);
|
label_dir_hint->Wrap(CONTENT_WIDTH);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user