~stephan-pagel/jhelioviewer/jhv-pluginmanager

« back to all changes in this revision

Viewing changes to src/jhv/src/org/helioviewer/jhv/gui/components/ImageSelectorPanel.java

  • Committer: Stephan Pagel
  • Date: 2011-11-16 14:51:57 UTC
  • Revision ID: stephan_pagel-20111116145157-crk2lmj54kw4pvhe
When creating more then one instance of the observation dialog it will not download the default movie everytime anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import javax.swing.JScrollPane;
21
21
 
22
22
import org.helioviewer.base.logging.Log;
 
23
import org.helioviewer.jhv.Settings;
23
24
import org.helioviewer.jhv.gui.IconBank;
24
25
import org.helioviewer.jhv.gui.IconBank.JHVIcon;
25
26
import org.helioviewer.jhv.gui.ImageViewerGui;
137
138
    /**
138
139
     * Observation dialog to actually add new data
139
140
     */
140
 
    private ObservationDialog observationDialog = new ObservationDialog(ObservationDialog.TYPE_DEFAULT);
 
141
    private ObservationDialog observationDialog = new ObservationDialog(ObservationDialog.TYPE_DEFAULT, Boolean.parseBoolean(Settings.getSingletonInstance().getProperty("startup.loadmovie")));
141
142
    /**
142
143
     * Action to download the current layer. If there is no active layer, the
143
144
     * action will do nothing.