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
logLevel=5
logFileEnabled=false
mqttClientServerHostname=mqtt.yourServer.com
mqttClientServerPort=1883

View File

@ -75,3 +75,4 @@ RhasspyVisualConversationTool*1883
keystore.jks
res
RhasspyVisualConversationTool-settings.ini
/RhasspyVisualConversationToolLogFile.txt

View File

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