expose import "raw data" in variable watcher context menu

pull/89/head
jmoenig 2019-05-02 15:10:44 +02:00
rodzic 01728c0dc3
commit 85fdd0fd23
1 zmienionych plików z 5 dodań i 6 usunięć

Wyświetl plik

@ -10737,13 +10737,12 @@ WatcherMorph.prototype.userMenu = function () {
'import...',
'importData'
);
menu.addItem(
'raw data...',
function () {myself.importData(true); },
'import without attempting to\nparse or format data'//,
);
if (shiftClicked) {
menu.addItem(
'import raw data...',
function () {myself.importData(true); },
'do not attempt to\nparse or format data',
new Color(100, 0, 0)
);
if (this.currentValue instanceof List &&
this.currentValue.canBeCSV()) {
menu.addItem(