SettingsDialog: Add debug setting hover text

Debug mode requires a restart of the websocket server by design.
However, to avoid interrupting connections, the websocket server is
not automatically restarted when the setting is changed
This commit is contained in:
tt2468 2021-04-30 10:25:32 -07:00
parent df8ef87dc5
commit 51e7fdae9e
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,7 @@ OBSWebSocket.Settings.Password="Server Password"
OBSWebSocket.Settings.CopyPassword="Copy Password to Clipboard" OBSWebSocket.Settings.CopyPassword="Copy Password to Clipboard"
OBSWebSocket.Settings.ServerPort="Server Port" OBSWebSocket.Settings.ServerPort="Server Port"
OBSWebSocket.Settings.ConnectedSessionsTitle="Connected WebSocket Sessions" OBSWebSocket.Settings.ConnectedSessionsTitle="Connected WebSocket Sessions"
OBSWebSocket.Settings.DebugEnableHoverText="Changing this requires the WebSocket server to restart. However, changing this will not automatically restart the obs-websocket server."
OBSWebSocket.SessionTable.RemoteAddressColumnTitle="Remote Address" OBSWebSocket.SessionTable.RemoteAddressColumnTitle="Remote Address"
OBSWebSocket.SessionTable.SessionDurationColumnTitle="Session Duration" OBSWebSocket.SessionTable.SessionDurationColumnTitle="Session Duration"

View File

@ -64,13 +64,20 @@
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="enableDebugLoggingLabel"> <widget class="QLabel" name="enableDebugLoggingLabel">
<property name="toolTip">
<string>OBSWebSocket.Settings.DebugEnableHoverText</string>
</property>
<property name="text"> <property name="text">
<string>OBSWebSocket.Settings.DebugEnable</string> <string>OBSWebSocket.Settings.DebugEnable</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QCheckBox" name="enableDebugLoggingCheckBox"/> <widget class="QCheckBox" name="enableDebugLoggingCheckBox">
<property name="toolTip">
<string>OBSWebSocket.Settings.DebugEnableHoverText</string>
</property>
</widget>
</item> </item>
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="enableAuthenticationLabel"> <widget class="QLabel" name="enableAuthenticationLabel">