Skip to content

Commit

Permalink
Make the "continue" button actually do something
Browse files Browse the repository at this point in the history
  • Loading branch information
fadden committed Aug 2, 2019
1 parent ea92edd commit d412664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SourceGen/WpfGui/ProjectLoadIssues.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ limitations under the License.
</TextBlock>
<StackPanel DockPanel.Dock="Bottom" Margin="0,8,0,0"
Orientation="Horizontal" HorizontalAlignment="Right">
<Button Name="okButton" Width="70" Content="Continue" IsDefault="True"/>
<Button Name="okButton" Width="70" Content="Continue" IsDefault="True" Click="OkButton_Click"/>
<Button Name="cancelButton" Margin="8,0,0,0" Width="70" Content="Cancel" IsCancel="True"/>
</StackPanel>
</DockPanel>
Expand Down
4 changes: 4 additions & 0 deletions SourceGen/WpfGui/ProjectLoadIssues.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@ private void ProjectLoadIssues_Loaded(object sender, RoutedEventArgs e) {
invalidDiscardLabel.Visibility = Visibility.Hidden;
}
}

private void OkButton_Click(object sender, RoutedEventArgs e) {
DialogResult = true;
}
}
}

0 comments on commit d412664

Please sign in to comment.