Added default value as TRUE to font smoothing for RDP

This commit is contained in:
Adolfo Gómez García 2021-07-28 14:08:16 +02:00
parent a8a5063083
commit 10d9279b89
2 changed files with 2 additions and 1 deletions

View File

@ -239,6 +239,7 @@ class BaseRDPTransport(transports.Transport):
)
smooth = gui.CheckBoxField(
label=_('Font Smoothing'),
defvalue=gui.TRUE,
order=35,
tooltip=_('If checked, fonts smoothing will be allowed'),
tab=gui.DISPLAY_TAB,

View File

@ -158,8 +158,8 @@ class Proxy:
prettyDest = ''
logger.info('CONNECT FROM %s', prettySource)
# Handshake correct in this point, start SSL connection
try:
# Handshake correct, get the command (4 bytes)
command: bytes = await source.recv(consts.COMMAND_LENGTH)
if command == consts.COMMAND_TEST:
logger.info('COMMAND: TEST')