Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disable Update tab for platforms where this is not implemented. Fixes #…

  • Loading branch information...
commit c1ed1146cf9df4f81c138f644b5280af8075f385 1 parent f4efa5e
@kintel kintel authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/Preferences.cc
View
4 src/Preferences.cc
@@ -95,7 +95,11 @@ Preferences::Preferences(QWidget *parent) : QMainWindow(parent)
QActionGroup *group = new QActionGroup(this);
addPrefPage(group, prefsAction3DView, page3DView);
addPrefPage(group, prefsActionEditor, pageEditor);
+#if defined(OPENSCAD_DEPLOY) && defined(Q_OS_MAC)
addPrefPage(group, prefsActionUpdate, pageUpdate);
+#else
+ this->toolBar->removeAction(prefsActionUpdate);
+#endif
#ifdef ENABLE_EXPERIMENTAL
addPrefPage(group, prefsActionFeatures, pageFeatures);
#else
Please sign in to comment.
Something went wrong with that request. Please try again.