diff --git a/oscar/daily.cpp b/oscar/daily.cpp index 0082376c..02273d8e 100644 --- a/oscar/daily.cpp +++ b/oscar/daily.cpp @@ -2439,7 +2439,7 @@ void Daily::on_evViewSlider_valueChanged(int value) GraphView->SetXBounds(st,et); } -void Daily::on_bookmarkTable_itemClicked(QTableWidgetItem *item) +void Daily::on_bookmarkTable_currentItemChanged(QTableWidgetItem *item, QTableWidgetItem *) { int row=item->row(); qint64 st,et; diff --git a/oscar/daily.h b/oscar/daily.h index d8cf1735..0f9005f2 100644 --- a/oscar/daily.h +++ b/oscar/daily.h @@ -232,11 +232,13 @@ private slots: */ void on_removeBookmarkButton_clicked(); - /*! \fn on_bookmarkTable_itemClicked(QTableWidgetItem *item); + /*! \fn on_bookmarkTable_currentItemChanged(QTableWidgetItem *item, QTableWidgetItem *previous) \brief Called when a bookmark has been selected.. Zooms in on the area \param QTableWidgetItem *item + \param QTableWidgetItem *previous */ - void on_bookmarkTable_itemClicked(QTableWidgetItem *item); + + void on_bookmarkTable_currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous); /*! \fn on_bookmarkTable_itemChanged(QTableWidgetItem *item); \brief Called when bookmarks have been altered.. Saves the bookmark list to Journal object.