Improve code for deleting table rows · javalover/sqlitebrowser@777088f · GitHub
Skip to content

Commit 777088f

Browse files
committed
Improve code for deleting table rows
Actually handle the case that deleting rows might fail in the SqliteTableModel. That's where this sort of check belongs. This allows us to get rid of the full refresh of the table view after deleting a row in the Browse Data tab. Thanks to @innermous for pointing this out!
1 parent c6121c8 commit 777088f

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

‎src/MainWindow.cpp‎

Lines changed: 1 addition & 1 deletion

‎src/sqlitetablemodel.cpp‎

Lines changed: 10 additions & 5 deletions

0 commit comments

Comments
 (0)