mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Resolves issue with channel being deleted when disabled via context menu
on channel panel, or on channel node in configuration tree.
This commit is contained in:
@@ -23,13 +23,10 @@ import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Image;
|
||||
import java.awt.Point;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseListener;
|
||||
import java.awt.geom.Line2D;
|
||||
import java.awt.image.ColorModel;
|
||||
import java.awt.image.MemoryImageSource;
|
||||
import java.text.DecimalFormat;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
@@ -291,8 +288,6 @@ public class WaterfallPanel extends JPanel implements DFTResultsListener,
|
||||
|
||||
int offset = (int)( getPixelOffset( multiplier ) - binPixelWidth );
|
||||
|
||||
// mLog.debug( "Offset:" + offset + " Pixel Offset:" + getPixelOffset( multiplier ) + " bin pixel width:" + binPixelWidth );
|
||||
|
||||
g.drawImage( mWaterfallImage,
|
||||
offset,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user