5279: i can't export my database
svn: r19593
This commit is contained in:
parent
aa1e096e02
commit
fb7679bac5
@ -516,10 +516,10 @@ class WriterOptionBox(object):
|
|||||||
if self.restrict_num > 0 and progress:
|
if self.restrict_num > 0 and progress:
|
||||||
progress.progress_cnt += 1
|
progress.progress_cnt += 1
|
||||||
|
|
||||||
if not self.cfilter.is_empty() and progress:
|
if (self.cfilter != None and (not self.cfilter.is_empty())) and progress:
|
||||||
progress.progress_cnt += 1
|
progress.progress_cnt += 1
|
||||||
|
|
||||||
if not self.nfilter.is_empty() and progress:
|
if (self.nfilter != None and (not self.nfilter.is_empty())) and progress:
|
||||||
progress.progress_cnt += 1
|
progress.progress_cnt += 1
|
||||||
|
|
||||||
if self.reference_num > 0 and progress:
|
if self.reference_num > 0 and progress:
|
||||||
@ -580,7 +580,7 @@ class WriterOptionBox(object):
|
|||||||
# If the filter returned by cfilter is not empty, apply the
|
# If the filter returned by cfilter is not empty, apply the
|
||||||
# FilterProxyDb (Person Filter)
|
# FilterProxyDb (Person Filter)
|
||||||
elif proxy_name == "person":
|
elif proxy_name == "person":
|
||||||
if not self.cfilter.is_empty():
|
if self.cfilter != None and not self.cfilter.is_empty():
|
||||||
if progress:
|
if progress:
|
||||||
progress.reset(_("Applying selected person filter"))
|
progress.reset(_("Applying selected person filter"))
|
||||||
progress.progress_cnt += 1
|
progress.progress_cnt += 1
|
||||||
@ -590,7 +590,7 @@ class WriterOptionBox(object):
|
|||||||
|
|
||||||
# Apply the Note Filter
|
# Apply the Note Filter
|
||||||
elif proxy_name == "note":
|
elif proxy_name == "note":
|
||||||
if not self.nfilter.is_empty():
|
if self.nfilter != None and not self.nfilter.is_empty():
|
||||||
if progress:
|
if progress:
|
||||||
progress.reset(_("Applying selected note filter"))
|
progress.reset(_("Applying selected note filter"))
|
||||||
progress.progress_cnt += 1
|
progress.progress_cnt += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user