mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
@@ -200,7 +200,7 @@ void ExtendedTableWidget::keyPressEvent(QKeyEvent* event)
|
||||
{
|
||||
// When pressing Alt+Delete set the value to NULL
|
||||
foreach(const QModelIndex& index, selectedIndexes())
|
||||
model()->setData(index, QString());
|
||||
model()->setData(index, QVariant());
|
||||
} else {
|
||||
// When pressing Delete only set the value to empty string
|
||||
foreach(const QModelIndex& index, selectedIndexes())
|
||||
|
||||
Reference in New Issue
Block a user