Ignore double clicks on the divelist

Fixes #170 on GitHub

Simple catch function for double click events in the divelist,
prevents users from trying to edit the divenumber ithe wrong way.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
Joakim Bygdell 2017-01-28 12:16:45 +01:00 committed by Dirk Hohndel
parent c49f044645
commit b0ec7146a0
2 changed files with 6 additions and 0 deletions

View file

@ -1034,3 +1034,8 @@ void DiveListView::updateLastImageTimeOffset(const int offset)
s.beginGroup("MainWindow");
s.setValue("LastImageTimeOffset", offset);
}
void DiveListView::mouseDoubleClickEvent(QMouseEvent * event)
{
return;
}