mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 07:52:55 +02:00
Merge pull request #11958 from humbletim/fix-pal-connections
Fix for Connections UI lockup
This commit is contained in:
commit
8485503063
1 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,7 @@ Rectangle {
|
||||||
// Style
|
// Style
|
||||||
color: "#E3E3E3";
|
color: "#E3E3E3";
|
||||||
// Properties
|
// Properties
|
||||||
|
property bool debug: false;
|
||||||
property int myCardWidth: width - upperRightInfoContainer.width;
|
property int myCardWidth: width - upperRightInfoContainer.width;
|
||||||
property int myCardHeight: 80;
|
property int myCardHeight: 80;
|
||||||
property int rowHeight: 60;
|
property int rowHeight: 60;
|
||||||
|
@ -1120,7 +1121,9 @@ Rectangle {
|
||||||
break;
|
break;
|
||||||
case 'connections':
|
case 'connections':
|
||||||
var data = message.params;
|
var data = message.params;
|
||||||
console.log('Got connection data: ', JSON.stringify(data));
|
if (pal.debug) {
|
||||||
|
console.log('Got connection data: ', JSON.stringify(data));
|
||||||
|
}
|
||||||
connectionsUserModelData = data;
|
connectionsUserModelData = data;
|
||||||
sortConnectionsModel();
|
sortConnectionsModel();
|
||||||
connectionsLoading.visible = false;
|
connectionsLoading.visible = false;
|
||||||
|
|
Loading…
Reference in a new issue