Skip to content

Fix GTK critical error when editing RDP profile

bhatman1441 requested to merge gtk-critical-rdp-edit into master

Description

Check that assistance_file and assistance_pass are not NULL before setting text in RDP profile edit.

Related Issue

#2986 (closed)

Motivation and Context

Fixes GTK critical errors from printing to terminal.

How Has This Been Tested?

Edited RDP profile to turn assistance mode on/off and toggled text in the assistance file and assistance password entries.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Merge request reports