diff options
| author | Adrien Tétar | 2015-10-17 13:16:24 +0200 | 
|---|---|---|
| committer | Adrien Tétar | 2015-10-17 13:19:43 +0200 | 
| commit | 816748b6d6b14b8b9f80fc904dc2654fd3e0f7c1 (patch) | |
| tree | 534aaf2468d2e712e9dc1a9a1637787818c6a9d5 /Lib/defconQt/featureTextEditor.py | |
| parent | 7cc2a144bdbb73b81ffcd4b8ac7fef8b94ee82b6 (diff) | |
| download | trufont-816748b6d6b14b8b9f80fc904dc2654fd3e0f7c1.tar.bz2 | |
glyphView: add startPoints support, consolidate notifications
Diffstat (limited to 'Lib/defconQt/featureTextEditor.py')
| -rw-r--r-- | Lib/defconQt/featureTextEditor.py | 3 | 
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) | 
