isis/src/qisis/objs/PlotWindow/PlotWindow.cpp
void PlotWindow::dragEnterEvent(QDragEnterEvent *event) {
    QObject *source = event->source();

    if (source != m_legend->contentsWidget() &&
        userCanAddCurve(event->mimeData())) {
      event->acceptProposedAction();
    }
  }
/**
   * When a user drags data into our plot window, we need to indicate whether or
   *   not this data is compatible with this window. This checks
   *   userCanAddCurve() on the drag & drop data and allows or disallowed the
   *   event accordingly.
   *
   * @param event The drag event to test
   */
When a user drags data into our plot window, we need to indicate whether or
not this data is compatible with this window. This checks
userCanAddCurve() on the drag & drop data and allows or disallowed the
event accordingly.

@param event The drag event to test
When a user drags data into our plot window we need to indicate whether or not this data is compatible with this window . This checks userCanAddCurve () on the drag & drop data and allows or disallowed the event accordingly . @param event The drag event to test
void PlotWindow::dragEnterEvent(QDragEnterEvent *event) {
    QObject *source = event->source();
    if (source != m_legend->contentsWidget() &&
        userCanAddCurve(event->mimeData())) {
      event->acceptProposedAction();
    }
  }
void PlotWindow :: dragEnterEvent ( QDragEnterEvent * event ) { QObject * source = event -> source ( ) ; if ( source != m_legend -> contentsWidget ( ) && userCanAddCurve ( event -> mimeData ( ) ) ) { event -> acceptProposedAction ( ) ; } }
When a user drags data into our plot window, we need to indicate whether or
   not this data is compatible with this window.
When a user drags data into our plot window we need to indicate whether or not this data is compatible with this window .