mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Merge remote-tracking branch 'upstream/3.0'
This commit is contained in:
commit
185c350a19
14 changed files with 322 additions and 289 deletions
|
|
@ -239,8 +239,9 @@ class WorkspaceDialog(QObject):
|
|||
# If the machine needs to be re-created, the definition_changes should also be re-created.
|
||||
# If the machine strategy is None, it means that there is no name conflict with existing ones. In this case
|
||||
# new definitions changes are created
|
||||
if "machine" in self._result and self._result["machine"] == "new" or self._result["machine"] is None and self._result["definition_changes"] is None:
|
||||
self._result["definition_changes"] = "new"
|
||||
if "machine" in self._result:
|
||||
if self._result["machine"] == "new" or self._result["machine"] is None and self._result["definition_changes"] is None:
|
||||
self._result["definition_changes"] = "new"
|
||||
|
||||
return self._result
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ UM.Dialog
|
|||
minimumWidth: 500 * screenScaleFactor
|
||||
minimumHeight: 400 * screenScaleFactor
|
||||
width: minimumWidth
|
||||
height: minumumHeight
|
||||
height: minimumHeight
|
||||
|
||||
property int comboboxHeight: 15 * screenScaleFactor
|
||||
property int spacerHeight: 10 * screenScaleFactor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue