fix: Keyboard navigation doesn't work with bookmarks: OSCAR issue #103 problem/code by hansendc

This commit is contained in:
LoudSnorer 2024-07-11 14:46:57 -04:00
parent f2fd17f68f
commit fa725e3d14
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -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.