mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-21 05:09:37 +08:00
Implement Review comments
CURA-5479
This commit is contained in:
parent
24820bab07
commit
06284b6a73
@ -254,8 +254,7 @@ class PrintInformation(QObject):
|
|||||||
def _onPreferencesChanged(self, preference: str) -> None:
|
def _onPreferencesChanged(self, preference: str) -> None:
|
||||||
if preference == "cura/job_name_template":
|
if preference == "cura/job_name_template":
|
||||||
self._updateJobName()
|
self._updateJobName()
|
||||||
|
elif preference == "cura/material_settings":
|
||||||
if preference == "cura/material_settings":
|
|
||||||
for build_plate_number in range(self._multi_build_plate_model.maxBuildPlate + 1):
|
for build_plate_number in range(self._multi_build_plate_model.maxBuildPlate + 1):
|
||||||
self._calculateInformation(build_plate_number)
|
self._calculateInformation(build_plate_number)
|
||||||
|
|
||||||
|
@ -642,7 +642,7 @@ UM.PreferencesPage
|
|||||||
TextField
|
TextField
|
||||||
{
|
{
|
||||||
id: jobNameTemplateTextField
|
id: jobNameTemplateTextField
|
||||||
width: 200 * screenScaleFactor
|
width: 250 * screenScaleFactor
|
||||||
text: UM.Preferences.getValue("cura/job_name_template")
|
text: UM.Preferences.getValue("cura/job_name_template")
|
||||||
onTextChanged: UM.Preferences.setValue("cura/job_name_template", text)
|
onTextChanged: UM.Preferences.setValue("cura/job_name_template", text)
|
||||||
}
|
}
|
||||||
@ -681,7 +681,7 @@ UM.PreferencesPage
|
|||||||
ComboBox
|
ComboBox
|
||||||
{
|
{
|
||||||
id: choiceOnOpenProjectDropDownButton
|
id: choiceOnOpenProjectDropDownButton
|
||||||
width: 200 * screenScaleFactor
|
width: 250 * screenScaleFactor
|
||||||
|
|
||||||
model: ListModel
|
model: ListModel
|
||||||
{
|
{
|
||||||
@ -747,7 +747,7 @@ UM.PreferencesPage
|
|||||||
ComboBox
|
ComboBox
|
||||||
{
|
{
|
||||||
id: choiceOnProfileOverrideDropDownButton
|
id: choiceOnProfileOverrideDropDownButton
|
||||||
width: 200 * screenScaleFactor
|
width: 250 * screenScaleFactor
|
||||||
|
|
||||||
model: ListModel
|
model: ListModel
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user