aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/featureTextEditor.py
diff options
context:
space:
mode:
authorAdrien Tétar2015-10-17 13:16:24 +0200
committerAdrien Tétar2015-10-17 13:19:43 +0200
commit816748b6d6b14b8b9f80fc904dc2654fd3e0f7c1 (patch)
tree534aaf2468d2e712e9dc1a9a1637787818c6a9d5 /Lib/defconQt/featureTextEditor.py
parent7cc2a144bdbb73b81ffcd4b8ac7fef8b94ee82b6 (diff)
downloadtrufont-816748b6d6b14b8b9f80fc904dc2654fd3e0f7c1.tar.bz2
glyphView: add startPoints support, consolidate notifications
Diffstat (limited to 'Lib/defconQt/featureTextEditor.py')
-rw-r--r--Lib/defconQt/featureTextEditor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/defconQt/featureTextEditor.py b/Lib/defconQt/featureTextEditor.py
index 5c5de76..b11947a 100644
--- a/Lib/defconQt/featureTextEditor.py
+++ b/Lib/defconQt/featureTextEditor.py
@@ -33,7 +33,8 @@ class MainEditWindow(QMainWindow):
def closeEvent(self, event):
if self.editor.document().isModified():
- closeDialog = QMessageBox(QMessageBox.Question, "Me", "Save your changes?",
+ name = QApplication.applicationName()
+ closeDialog = QMessageBox(QMessageBox.Question, name, "Save your changes?",
QMessageBox.Save | QMessageBox.Discard | QMessageBox.Cancel, self)
closeDialog.setInformativeText("Your changes will be lost if you don’t save them.")
closeDialog.setModal(True)