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
Unverified

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'),
),