Skip to content

Commit d310d73

Browse files
author
Doug Schmidt
authored
Merge pull request #315 from DougSchmidt-AI/feature/PF-1473-FixLabFileImporterAuthentication
PF-1473 - Bind the GUI changes to the Context object, so that it works.
2 parents 63d2f88 + 85cfdfd commit d310d73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Samples/DotNetSdk/LabFileImporter/MainForm.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,15 @@ private bool TryParseServerUri(string text, out Uri uri)
295295

296296
private void serverTextBox_TextChanged(object sender, EventArgs e)
297297
{
298+
Context.ServerUrl = serverTextBox.Text.Trim();
299+
298300
OnServerConfigChanged();
299301
}
300302

301303
private void apiTokenTextBox_TextChanged(object sender, EventArgs e)
302304
{
305+
Context.ApiToken = apiTokenTextBox.Text.Trim();
306+
303307
OnServerConfigChanged();
304308
}
305309

0 commit comments

Comments
 (0)