mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-18 11:38:24 -05: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