aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/treeview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/treeview.c b/src/treeview.c
index 0f9b588f5..3d5bd7175 100644
--- a/src/treeview.c
+++ b/src/treeview.c
@@ -397,6 +397,7 @@ void sqlite3TreeViewBound(
*/
void sqlite3TreeViewWindow(TreeView *pView, const Window *pWin, u8 more){
int nElement = 0;
+ if( pWin==0 ) return;
if( pWin->pFilter ){
sqlite3TreeViewItem(pView, "FILTER", 1);
sqlite3TreeViewExpr(pView, pWin->pFilter, 0);