diff --git a/init.py b/init.py index 51bfb9c..0a6dbbf 100644 --- a/init.py +++ b/init.py @@ -25,6 +25,9 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.show() def close(self): + """ + Close the application. A warning is shown before. + """ reply = QMessageBox.question(self, "Sicher?", "Möchten Sie wirklich schließen?", QMessageBox.Yes | QMessageBox.No, QMessageBox.No)