@@ -33,20 +33,16 @@ Cura.RoundedRectangle
3333 height: UM .Theme .getSize (" setting_control" ).height + UM .Theme .getSize (" default_margin" ).height
3434 source:
3535 {
36- var isGE44 = (CuraSDKVersion >= " 7.0.0" );
37- var isGE50 = (CuraSDKVersion >= " 8.0.0" );
38- var isGE51 = (CuraSDKVersion >= " 8.1.0" );
39- var isGE53 = (CuraSDKVersion >= " 8.3.0" ) || UM .Application .version == " master" || UM .Application .version == " dev" ;
40- if (isGE53) {
41- return " ProfileSelector53.qml" ;
42- }else if (isGE51) {
43- return " ProfileSelector51.qml" ;
44- } else if (isGE50) {
45- return " ProfileSelector50.qml" ;
46- } else if (isGE44) {
36+ if (isLE43) {
37+ return " ProfileSelector40.qml" ;
38+ } else if (isLE413) {
4739 return " ProfileSelector44.qml" ;
40+ } else if (isLE50) {
41+ return " ProfileSelector50.qml" ;
42+ } else if (isLE52) {
43+ return " ProfileSelector51.qml" ;
4844 } else {
49- return " ProfileSelector40 .qml" ;
45+ return " ProfileSelector53 .qml" ;
5046 }
5147 }
5248 }
@@ -89,8 +85,6 @@ Cura.RoundedRectangle
8985
9086 source:
9187 {
92- var isLE410 = (CuraSDKVersion <= " 7.6.0" )
93- var isLE413 = (CuraSDKVersion <= " 7.9.0" ) && UM .Application .version != " master" && UM .Application .version != " dev"
9488 if (isLE410) {
9589 return " ExtruderTabs40.qml" ;
9690 } else if (isLE413) {
@@ -158,7 +152,7 @@ Cura.RoundedRectangle
158152 Component .onCompleted :
159153 {
160154 configurationMenu .contentItem .children [1 ].visible = false // separator
161- if (! isGE50 )
155+ if (isLE413 )
162156 {
163157 configurationMenu .contentItem .children [0 ].x = 2 * UM .Theme .getSize (" default_margin" ).width // extruder config
164158 configurationMenu .contentItem .children [2 ].x = UM .Theme .getSize (" default_margin" ).width // Custom/Configurations
0 commit comments