diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-05 18:28:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-05 18:28:51 +0200 |
commit | 420748abc9b5cd13b4f0d98068619e90d503450d (patch) | |
tree | ae1389ba76c9509fa0f63d2e598ca3e7ccf3660c /spline-widget | |
parent | 9e63b4ecafcb66c275760cd28d2cfb0d258a474e (diff) |
spline-widget: oops, fix tooltip before clicking on widget
Diffstat (limited to 'spline-widget')
-rw-r--r-- | spline-widget/spline-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/spline-widget.cpp b/spline-widget/spline-widget.cpp index ed07419e..0dc94555 100644 --- a/spline-widget/spline-widget.cpp +++ b/spline-widget/spline-widget.cpp @@ -347,7 +347,7 @@ void spline_widget::mousePressEvent(QMouseEvent *e) void spline_widget::mouseMoveEvent(QMouseEvent *e) { - if (!_config || !isEnabled() || !hasFocus() || !isActiveWindow()) + if (!_config || !isEnabled() || !isActiveWindow() || (moving_control_point_idx != -1 && !hasFocus())) { clearFocus(); return; |