Cosmetics

This commit is contained in:
jens 2021-05-06 19:07:33 +02:00
parent 2eb907e383
commit f721f92b59
3 changed files with 5 additions and 3 deletions

View File

@ -34,6 +34,7 @@ hideWindowWhenIdle=true
logFolderPath=/var/log/rhasspyVisualConversationTool logFolderPath=/var/log/rhasspyVisualConversationTool
logLevel=5 logLevel=5
logFileEnabled=false
mqttClientServerHostname=mqtt.yourServer.com mqttClientServerHostname=mqtt.yourServer.com
mqttClientServerPort=1883 mqttClientServerPort=1883

View File

@ -74,4 +74,5 @@ RhasspyVisualConversationTool*8883
RhasspyVisualConversationTool*1883 RhasspyVisualConversationTool*1883
keystore.jks keystore.jks
res res
RhasspyVisualConversationTool-settings.ini RhasspyVisualConversationTool-settings.ini
/RhasspyVisualConversationToolLogFile.txt

View File

@ -127,14 +127,14 @@ public class GUI
if(!initialConnectionEstablished) if(!initialConnectionEstablished)
initialConnectionEstablished = true; initialConnectionEstablished = true;
connectionStatusTextField.setText("Connected to: " + Settings.mqttClientServerHostname); connectionStatusTextField.setText("Connected: " + "to " + Settings.mqttClientServerHostname);
if(Settings.hideWindowWhenIdle) if(Settings.hideWindowWhenIdle)
minimizeDelayed(); minimizeDelayed();
} }
else else
{ {
connectionStatusTextField.setText("Not connected"); connectionStatusTextField.setText("Connected: " + String.valueOf(MQTT.getInstance().getClient().isConnected()));
getFocus(); getFocus();
} }
} }