Mercurial > hg > svgui
diff widgets/LevelPanToolButton.h @ 1300:1589bc7528b7
Ctrl-click on level-pan tool button now also resets to default
author | Chris Cannam |
---|---|
date | Thu, 21 Jun 2018 10:43:14 +0100 |
parents | a34a2a25907c |
children | a18e78b9c78b |
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.h Mon Jun 11 14:40:36 2018 +0100 +++ b/widgets/LevelPanToolButton.h Thu Jun 21 10:43:14 2018 +0100 @@ -70,6 +70,7 @@ virtual void paintEvent(QPaintEvent *); virtual void enterEvent(QEvent *); virtual void leaveEvent(QEvent *); + virtual void mousePressEvent(QMouseEvent *); virtual void wheelEvent(QWheelEvent *e); LevelPanWidget *m_lpw;