Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.cpp')
-rw-r--r--src/slic3r/GUI/PrintHostDialogs.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/slic3r/GUI/PrintHostDialogs.cpp b/src/slic3r/GUI/PrintHostDialogs.cpp
index c2a94181e..d6b5f3469 100644
--- a/src/slic3r/GUI/PrintHostDialogs.cpp
+++ b/src/slic3r/GUI/PrintHostDialogs.cpp
@@ -30,6 +30,10 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path)
, txt_filename(new wxTextCtrl(this, wxID_ANY, path.filename().wstring()))
, 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.")));
label_dir_hint->Wrap(CONTENT_WIDTH);
@@ -93,7 +97,8 @@ PrintHostQueueDialog::PrintHostQueueDialog(wxWindow *parent)
{
enum { HEIGHT = 800, WIDTH = 400, SPACING = 5 };
- SetMinSize(wxSize(HEIGHT, WIDTH));
+ SetSize(wxSize(HEIGHT, WIDTH));
+ SetSize(GetMinSize());
auto *topsizer = new wxBoxSizer(wxVERTICAL);