mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 21:29:33 +02:00
untabify
This commit is contained in:
parent
50a53a5174
commit
bf26aec260
1 changed files with 5 additions and 5 deletions
|
@ -744,12 +744,12 @@ function receiveMessage(channel, messageString, senderID) {
|
||||||
var message = JSON.parse(messageString);
|
var message = JSON.parse(messageString);
|
||||||
switch (message.method) {
|
switch (message.method) {
|
||||||
case 'select':
|
case 'select':
|
||||||
if (!onPalScreen) {
|
if (!onPalScreen) {
|
||||||
tablet.loadQMLSource(PAL_QML_SOURCE);
|
tablet.loadQMLSource(PAL_QML_SOURCE);
|
||||||
Script.setTimeout(function () { sendToQml(message); }, 1000);
|
Script.setTimeout(function () { sendToQml(message); }, 1000);
|
||||||
} else {
|
} else {
|
||||||
sendToQml(message); // Accepts objects, not just strings.
|
sendToQml(message); // Accepts objects, not just strings.
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue