Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pippy_app.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pippy_app.py b/pippy_app.py
index a440e4c..396f021 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -329,8 +329,13 @@ Discard changes?')
alert.connect('response', self._discard_changes_cb, path)
self.add_alert(alert)
return False
+ else:
+ values = {}
+ values['name'] = os.path.basename(path)
+ values['path'] = path
+ self.selection_cb(values)
- return True
+ return False
def _discard_changes_cb(self, alert, response_id, path):
self.remove_alert(alert)