Rename showGUI variable to blockGUI and added some comments in Config class
This commit is contained in:
@@ -325,7 +325,7 @@ class GuiWritingStats(QDialog):
|
||||
if not path.isdir(saveDir):
|
||||
saveDir = self.mainConf.homePath
|
||||
|
||||
if self.mainConf.showGUI:
|
||||
if self.mainConf.blockGUI:
|
||||
dlgOpt = QFileDialog.Options()
|
||||
dlgOpt |= QFileDialog.DontUseNativeDialog
|
||||
saveTo = QFileDialog.getSaveFileName(
|
||||
@@ -379,7 +379,7 @@ class GuiWritingStats(QDialog):
|
||||
errMsg = str(e)
|
||||
|
||||
# Report to user
|
||||
if self.mainConf.showGUI:
|
||||
if self.mainConf.blockGUI:
|
||||
if wSuccess:
|
||||
self.theParent.makeAlert(
|
||||
"%s file successfully written to:<br> %s" % (
|
||||
|
||||
Reference in New Issue
Block a user