Skip to content

Commit a644a9e

Browse files
authored
Merge pull request #42 from ssweber/master
Use recursion=False on form prompt_save
2 parents 720035e + 559f90e commit a644a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysimplesql/pysimplesql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ def prompt_save(self, autosave=False) -> int:
17391739
if self[q]._prompt_save is False:
17401740
continue
17411741

1742-
if self[q].records_changed():
1742+
if self[q].records_changed(recursive=False): # don't check children
17431743
# we will only show the popup once, regardless of how many queries have changed
17441744
if not user_prompted:
17451745
user_prompted = True

0 commit comments

Comments
 (0)