mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
SqliteTableModel: Notify view and parent class code when clearing cache
Call beginRemoveRows() and endRemoveRows() when emptying the cache. This silences those warnings from QAbstractItemModel::endInsertRows() and fixes a crash when exiting the program both ocurring when the data was resorted.
This commit is contained in:
@@ -41,6 +41,7 @@ public slots:
|
||||
|
||||
private:
|
||||
void fetchData(unsigned int from, unsigned to);
|
||||
void clearCache();
|
||||
|
||||
void buildQuery();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user