Project

General

Profile

Actions

Bug #13453

open

QueryModel::removeRow Doesn't Update Database

Added by Aaron Wright 28 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/25/2025
Due date:
% Done:

0%

Estimated time:

Description

I'm using a QueryModel object to display the contents of an SQLite3 database in a WTableView. This works great. The only issue I've had is that the removeRow function doesn't actually update the database. The row does get removed from the WTableView, but the SQLite3 database still has it. This problem doesn't happen with the insertRow function, which adds a row to the WTableView and the database at the same time.

I've been working around this issue with the removeRow function by calling the reload function right after, but that seems like a bug.

No data to display

Actions

Also available in: Atom PDF