mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
20 lines
823 B
C++
20 lines
823 B
C++
--- src/slic3r/GUI/UpdateDialogs.cpp.orig 2024-12-20 11:54:34 UTC
|
|
+++ src/slic3r/GUI/UpdateDialogs.cpp
|
|
@@ -153,7 +153,7 @@ AppUpdateDownloadDialog::AppUpdateDownloadDialog( cons
|
|
versions->Add(new wxStaticText(this, wxID_ANY, ver_online.to_string()));
|
|
content_sizer->Add(versions);
|
|
content_sizer->AddSpacer(VERT_SPACING);
|
|
-#ifndef __linux__
|
|
+#if !defined(__linux__) && !defined(__FreeBSD__)
|
|
cbox_run = new wxCheckBox(this, wxID_ANY, _(L("Run installer after download. (Otherwise file explorer will be opened)")));
|
|
content_sizer->Add(cbox_run);
|
|
#endif
|
|
@@ -259,7 +259,7 @@ bool AppUpdateDownloadDialog::run_after_download() con
|
|
|
|
bool AppUpdateDownloadDialog::run_after_download() const
|
|
{
|
|
-#ifndef __linux__
|
|
+#if !defined(__linux__) && !defined(__FreeBSD__)
|
|
return cbox_run->GetValue();
|
|
#endif
|
|
return false;
|