Fix crash with GUI HTML export, and clean up dialogs.

This commit is contained in:
blitzmann
2015-10-04 11:12:00 -04:00
parent 365cacac66
commit 17d353e09b
2 changed files with 104 additions and 105 deletions

View File

@@ -163,9 +163,9 @@ class exportHtmlThread(threading.Thread):
except:
pass
finally:
count += 1
if self.callback:
wx.CallAfter(self.callback, count)
count += 1
else:
# Ship group header
HTMLship = (
@@ -182,9 +182,9 @@ class exportHtmlThread(threading.Thread):
except:
continue
finally:
count += 1
if self.callback:
wx.CallAfter(self.callback, count)
count += 1
HTMLgroup += HTMLship + (' </ul>\n'
' </li>\n')