File tree 5 files changed +7
-6
lines changed
Desktop/components/JASP/Widgets
QMLComponents/components/JASP/Controls
5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ FocusScope
183
183
{
184
184
anchors .fill : parent
185
185
acceptedButtons : Qt .NoButton
186
- onWheel : wheel .accepted = true
186
+ onWheel : ( wheel ) => { wheel .accepted = true ; }
187
187
}
188
188
189
189
JASPControl .JASPScrollBar
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ FocusScope
367
367
id: gottaCatchEmAll // Clicks that is
368
368
anchors .fill : parent
369
369
z: - 6
370
- onWheel : function (wheel ) { wheel .accepted = true ; }
370
+ onWheel : (wheel )=> { wheel .accepted = true ; }
371
371
}
372
372
}
373
373
}
Original file line number Diff line number Diff line change 318
318
{
319
319
resultsJsInterface .resultsLoaded = loadRequest .status === WebEngineView .LoadSucceededStatus ;
320
320
setTranslatedResultsString ();
321
- runJavaScript (` window.sendUrlWhitelist(${ JSON .stringify (urlWhitelist)} )` ); // sent urlWhitelist to js side
321
+ if (resultsJsInterface .resultsLoaded )
322
+ runJavaScript (` window.sendUrlWhitelist(${ JSON .stringify (urlWhitelist)} )` ); // sent urlWhitelist to js side
322
323
}
323
324
324
325
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ Window
135
135
z: - 1
136
136
acceptedButtons: Qt .NoButton
137
137
anchors .fill : parent
138
- onWheel: vertScroll .scrollWheel (wheel)
138
+ onWheel : ( wheel ) => { vertScroll .scrollWheel (wheel); }
139
139
}
140
140
}
141
141
@@ -170,7 +170,7 @@ Window
170
170
z: - 1
171
171
acceptedButtons: Qt .NoButton
172
172
anchors .fill : parent
173
- onWheel: codeEntryScrollbar .scrollWheel (wheel)
173
+ onWheel : ( wheel ) => { codeEntryScrollbar .scrollWheel (wheel); }
174
174
}
175
175
176
176
Rectangle
Original file line number Diff line number Diff line change 147
147
anchors .fill : parent;
148
148
cursorShape: Qt .PointingHandCursor
149
149
150
- onWheel: scrollbar .scrollWheel (wheel)
150
+ onWheel : ( wheel ) => { scrollbar .scrollWheel (wheel); }
151
151
152
152
drag
153
153
{
You can’t perform that action at this time.
0 commit comments