Ref T528, avoid crash (assert) if simulator object is not accessible (remote UI)

Also disable some UI elements in that case + display an info
This commit is contained in:
Klaus Basan
2019-02-08 01:25:15 +01:00
committed by Mat Sutcliffe
parent ddd44edebd
commit 2031ba3d8b
2 changed files with 22 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>254</width>
<height>147</height>
<height>174</height>
</rect>
</property>
<property name="windowTitle">
@@ -109,6 +109,16 @@
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="lbl_NoLocalSimulator">
<property name="text">
<string>Looks like you are running a remote GUI, these settings only work locally. Use core settings.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>