Commit bc5add6
committed
Don't trigger save when gtk save dialog is closed by escape.
Pressing escape to close the gtk save dialog sets the return value
of `dialog.run()` to `ResponseType.DELETE_EVENT` rather than
`ResponseType.CANCEL` (and thus previously incorrectly triggered a
save), whereas checking for `ResponseType.OK` covers all cases.1 parent da1ea05 commit bc5add6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
| 573 | + | |
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| |||
0 commit comments