fixes #0002833: [Spreadsheet] Keyboard events are sent to the wrong viewprovider

This commit is contained in:
wmayer
2018-09-12 17:40:57 +02:00
parent ef42cfb5d6
commit 4d47ce619e
5 changed files with 58 additions and 15 deletions

View File

@@ -332,6 +332,11 @@ QModelIndexList SheetView::selectedIndexes() const
return ui->cells->selectionModel()->selectedIndexes();
}
void SheetView::deleteSelection()
{
ui->cells->deleteSelection();
}
QModelIndex SheetView::currentIndex() const
{
return ui->cells->currentIndex();