From 2bd12e82e4258784bff354cb0dce6961996f7824 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 3 Aug 2006 13:17:25 +0000 Subject: [PATCH] Fixed so that mouse-picking does not save a file if "Save none" was checked. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@236 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- decode3.F90 | 2 -- wsjt.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/decode3.F90 b/decode3.F90 index a21872873..deab3a777 100644 --- a/decode3.F90 +++ b/decode3.F90 @@ -1,4 +1,3 @@ - !---------------------------------------------------- decode3 subroutine decode3(d2,jz,istart,filename) @@ -67,7 +66,6 @@ subroutine decode3(d2,jz,istart,filename) filetokilla='' filetokillb='' endif - if(mousebutton.ne.0) filetokilla='' if(nsavelast.eq.1) filetokillb='' nsavelast=0 ierr=unlink(filetokillb) diff --git a/wsjt.py b/wsjt.py index a6844ddb3..8042f1b72 100644 --- a/wsjt.py +++ b/wsjt.py @@ -1,4 +1,4 @@ -#------------------------------------------------------------------ WSJT +#---------------------------------------------------------------- WSJT from Tkinter import * from tkFileDialog import *