From e1343c17ccf9133134aeddd9b7093321e80f3900 Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Tue, 16 Sep 2008 08:19:20 +0000
Subject: [PATCH] fix for writing EMBL in database mode

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@8846 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 uk/ac/sanger/artemis/components/EntryFileDialog.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/uk/ac/sanger/artemis/components/EntryFileDialog.java b/uk/ac/sanger/artemis/components/EntryFileDialog.java
index 59eaae235..6725c5370 100644
--- a/uk/ac/sanger/artemis/components/EntryFileDialog.java
+++ b/uk/ac/sanger/artemis/components/EntryFileDialog.java
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/EntryFileDialog.java,v 1.11 2008-07-16 11:28:44 tjc Exp $
+ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/EntryFileDialog.java,v 1.12 2008-09-16 08:19:20 tjc Exp $
  */
 
 package uk.ac.sanger.artemis.components;
@@ -43,7 +43,7 @@ import javax.swing.*;
  *  This class is a JFileChooser that can read EMBL Entry objects.
  *
  *  @author Kim Rutherford
- *  @version $Id: EntryFileDialog.java,v 1.11 2008-07-16 11:28:44 tjc Exp $
+ *  @version $Id: EntryFileDialog.java,v 1.12 2008-09-16 08:19:20 tjc Exp $
  **/
 
 public class EntryFileDialog extends StickyFileChooser 
@@ -462,7 +462,7 @@ public class EntryFileDialog extends StickyFileChooser
             {
               if(entry.getEMBLEntry() instanceof DatabaseDocumentEntry)
                 ReadAndWriteEntry.writeDatabaseEntryToFile(entry, file, 
-                    flattenGeneModel.isSelected(), true, destination_type, owner);
+                    flattenGeneModel.isSelected(), true, destination_type, null);
               else if(include_diana_extensions) 
                 entry.save(file, destination_type, true);
               else 
-- 
GitLab