From 59b3b094158384f19d5639036606bf9f8deb22c2 Mon Sep 17 00:00:00 2001 From: "Michael D. M. Dryden" <mdryden@chem.utoronto.ca> Date: Thu, 31 Jul 2014 17:48:38 -0400 Subject: [PATCH] Cancel button works in save dialog. Fixes #14. --- dstatInterface/interface/save.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dstatInterface/interface/save.py b/dstatInterface/interface/save.py index 2eaa6c1..1f74c86 100644 --- a/dstatInterface/interface/save.py +++ b/dstatInterface/interface/save.py @@ -31,6 +31,8 @@ def manSave(current_exp): text(exp, path) fcd.destroy() + elif response == gtk.RESPONSE_CANCEL: + fcd.destroy() def autoSave(current_exp, dir_button, name, expnumber): if name == "": -- GitLab