mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Fix deleting from without rowid tables
This commit is contained in:
@@ -3523,7 +3523,7 @@ void MainWindow::unlockViewEditing(bool unlock, QString pk)
|
||||
// If this isn't a view just unlock editing and return
|
||||
if(db.getObjectByName(currentTable) && db.getObjectByName(currentTable)->type() != sqlb::Object::View)
|
||||
{
|
||||
m_browseTableModel->setPseudoPk(QString());
|
||||
m_browseTableModel->setPseudoPk(m_browseTableModel->pseudoPk());
|
||||
enableEditing(true);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user