Fix GTK critical error when editing RDP profile
Description
Check that assistance_file and assistance_pass are not NULL before setting text in RDP profile edit.
Related Issue
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.