File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ Item {
120
120
keyNavigationEnabled: false
121
121
highlightFollowsCurrentItem: true
122
122
highlightMoveDuration: 0
123
- Keys .onPressed : {
123
+ Keys .onPressed : function ( event ) {
124
124
switch (event .key ) {
125
125
case Qt .Key_Home :
126
126
textView .positionViewAtBeginning ()
Original file line number Diff line number Diff line change @@ -484,7 +484,12 @@ Item {
484
484
property bool isValidEdge: src !== undefined && dst !== undefined
485
485
visible: isValidEdge && src .visible && dst .visible
486
486
487
- property bool forLoop: src .attribute .type === " ListAttribute" && dst .attribute .type != " ListAttribute"
487
+ property bool forLoop: {
488
+ if (src !== undefined && dst !== undefined ) {
489
+ return src .attribute .type === " ListAttribute" && dst .attribute .type != " ListAttribute"
490
+ }
491
+ return false
492
+ }
488
493
489
494
property bool inFocus: containsMouse || (edgeMenu .opened && edgeMenu .currentEdge === edge)
490
495
Original file line number Diff line number Diff line change @@ -674,7 +674,9 @@ Panel {
674
674
text: MaterialIcons .navigate_next
675
675
property string nextGroupName: {
676
676
if (root .cameraInits && root .cameraInitIndex + 1 < root .cameraInits .count ) {
677
- return root .cameraInits .at (root .cameraInitIndex + 1 ).label
677
+ var group = root .cameraInits .at (root .cameraInitIndex + 1 )
678
+ if (group)
679
+ return root .cameraInits .at (root .cameraInitIndex + 1 ).label
678
680
}
679
681
return " "
680
682
}
You can’t perform that action at this time.
0 commit comments