Merge pull request #4328 from Kingtous/master

fix: add the required `pf_` prefix to RDP
This commit is contained in:
RustDesk 2023-05-11 08:40:46 +08:00 committed by GitHub
commit e41dca8cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,7 +309,8 @@ class _PortForwardPageState extends State<PortForwardPage>
child: SizedBox(
width: 120,
child: ElevatedButton(
onPressed: () => bind.sessionNewRdp(id: widget.id),
onPressed: () =>
bind.sessionNewRdp(id: "pf_${widget.id}"),
child: Text(
translate('New RDP'),
),