mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
274f2bf124
commit
a17537ed50
1 changed files with 1 additions and 0 deletions
|
|
@ -381,6 +381,7 @@ void DateWidget::paintEvent(QPaintEvent *event)
|
||||||
|
|
||||||
void DateWidget::mousePressEvent(QMouseEvent *event)
|
void DateWidget::mousePressEvent(QMouseEvent *event)
|
||||||
{
|
{
|
||||||
|
calendarWidget->setSelectedDate(mDate);
|
||||||
calendarWidget->move(event->globalPos());
|
calendarWidget->move(event->globalPos());
|
||||||
calendarWidget->show();
|
calendarWidget->show();
|
||||||
calendarWidget->raise();
|
calendarWidget->raise();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue