diff options
Diffstat (limited to 'src/plugins/qmlprofiler/qml/SelectionRange.qml')
-rw-r--r-- | src/plugins/qmlprofiler/qml/SelectionRange.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/qmlprofiler/qml/SelectionRange.qml b/src/plugins/qmlprofiler/qml/SelectionRange.qml index feafbbe997..f565571294 100644 --- a/src/plugins/qmlprofiler/qml/SelectionRange.qml +++ b/src/plugins/qmlprofiler/qml/SelectionRange.qml @@ -63,11 +63,10 @@ RangeMover { root.updateRangeButton(); } - function reset(setVisible) { + function reset() { setRight(getLeft() + 1); creationState = 0; creationReference = 0; - visible = setVisible; } function setPos(pos) { @@ -129,9 +128,6 @@ RangeMover { selectionRange.creationState = 1; } - if (!root.eventCount) - return; - if (!selectionRangeControl.pressed && selectionRange.creationState==3) return; |