mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps/calculation] Deselect table when deleting all rows
Change-Id: Ia0f7f931669bdc2664ff99e3a9694652783812bd
This commit is contained in:
@@ -73,6 +73,9 @@ bool SelectableTableView::selectCellAtLocation(int i, int j) {
|
||||
}
|
||||
|
||||
HighlightCell * SelectableTableView::selectedCell() {
|
||||
if (m_selectedCellX < 0 || m_selectedCellY < 0) {
|
||||
return nullptr;
|
||||
}
|
||||
return cellAtLocation(m_selectedCellX, m_selectedCellY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user