Browse Source

Prevent profiles being added if there is no active machine

fieldOfView 9 years ago
parent
commit
003f973ba4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/Actions.qml

+ 1 - 0
resources/qml/Actions.qml

@@ -99,6 +99,7 @@ Item
     Action
     {
         id: addProfileAction;
+        enabled: UM.ActiveProfile.valid
         text: catalog.i18nc("@action:inmenu menubar:profile","&Add Profile...");
     }