diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-06-30 18:31:29 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-30 16:06:18 -0700 |
commit | a17537ed5050aab28413f5a30e97e2da5e67f8b2 (patch) | |
tree | 12bb2e2ca497258bd5db401a6370ca48badc3e16 /qt-ui/simplewidgets.cpp | |
parent | 274f2bf124cb1d8c2bcb4ad3476813dae26b266b (diff) | |
download | subsurface-a17537ed5050aab28413f5a30e97e2da5e67f8b2.tar.gz |
Selects the dive date before showing it up.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index b11d7528a..5908c2b2a 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -381,6 +381,7 @@ void DateWidget::paintEvent(QPaintEvent *event) void DateWidget::mousePressEvent(QMouseEvent *event) { + calendarWidget->setSelectedDate(mDate); calendarWidget->move(event->globalPos()); calendarWidget->show(); calendarWidget->raise(); |