Skip to content

Commit

Permalink
Merge pull request #124 from kzi-nastava/feat/TutorWindow
Browse files Browse the repository at this point in the history
[Update] TutorWindow and CourseCreateWindow
  • Loading branch information
DusicaPesic authored Apr 1, 2024
2 parents 65b7728 + 8b319f3 commit f326e8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LangLang/View/CourseGUI/CourseCreateWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<ComboBox x:Name="languageLvlCb" Margin="5,0,5,0" Height="20"
Text="{Binding Path=Student.Email, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
Validation.ErrorTemplate="{StaticResource ValidationTemplate}"
VerticalContentAlignment="Center" Background="#FFFFF3F3" BorderBrush="#FF724879" FontFamily="Bahnschrift Light" Foreground ="#FFF3B0B0" SelectionChanged="ComboBox_SelectionChanged" >
VerticalContentAlignment="Center" Background="#FFFFF3F3" BorderBrush="#FF724879" FontFamily="Bahnschrift Light" Foreground ="#FFF3B0B0" >
<ComboBox.OpacityMask>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black"/>
Expand Down
4 changes: 2 additions & 2 deletions LangLang/View/TutorWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ namespace LangLang
public partial class TutorWindow : Window
{
public Tutor tutor { get; set; }
public TutorWindow(Tutor t)
public TutorWindow()

Check warning on line 27 in LangLang/View/TutorWindow.xaml.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'tutor' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
{
tutor = t;
//tutor = t;
InitializeComponent();
}

Expand Down

0 comments on commit f326e8f

Please sign in to comment.