mirror of https://github.com/rusefi/RomRaider.git
fixed no colorize after a paste
git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@672 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
parent
4ddd77749a
commit
600c7b9215
|
@ -994,6 +994,7 @@ public abstract class Table extends JPanel implements Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
colorize();
|
||||
}
|
||||
|
||||
public void pasteCompare() {
|
||||
|
|
|
@ -27,8 +27,11 @@ import enginuity.util.AxisRange;
|
|||
import static enginuity.util.ParamChecker.isNullOrEmpty;
|
||||
import static enginuity.util.TableAxisUtil.getLiveDataRangeForAxis;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import javax.swing.JLabel;
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Toolkit;
|
||||
import java.awt.datatransfer.DataFlavor;
|
||||
import java.awt.datatransfer.StringSelection;
|
||||
import java.awt.datatransfer.UnsupportedFlavorException;
|
||||
|
@ -248,6 +251,7 @@ public class Table2D extends Table {
|
|||
axis.paste();
|
||||
}
|
||||
}
|
||||
colorize();
|
||||
}
|
||||
|
||||
public void pasteCompare() {
|
||||
|
|
|
@ -720,11 +720,13 @@ public class Table3D extends Table {
|
|||
// put datavalues in clipboard and paste
|
||||
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(String.valueOf(dataValues)), null);
|
||||
pasteValues();
|
||||
colorize();
|
||||
// reset clipboard
|
||||
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(input), null);
|
||||
|
||||
} else if ("[Selection3D]".equalsIgnoreCase(pasteType)) { // paste selection
|
||||
pasteValues();
|
||||
colorize();
|
||||
} else if ("[Selection1D]".equalsIgnoreCase(pasteType)) { // paste selection
|
||||
xAxis.paste();
|
||||
yAxis.paste();
|
||||
|
|
Loading…
Reference in New Issue