Skip to content

Commit

Permalink
How about I disable those fields.
Browse files Browse the repository at this point in the history
For future they can be edited in WebUI.
  • Loading branch information
Cazzar committed Apr 17, 2024
1 parent 114fcb6 commit bf0ca73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Shoko.Desktop/UserControls/Settings/AniDBLoginSettings.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
</StackPanel>

<StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="0">
<TextBox Name="txtServer" Width="300" Margin="0,5,5,0" VerticalAlignment="Center" Text="{Binding Source={x:Static local:VM_ShokoServer.Instance},Path=AniDB_ServerAddress}"/>
<TextBox Name="txtServer" Width="300" Margin="0,5,5,0" VerticalAlignment="Center" Text="{Binding Source={x:Static local:VM_ShokoServer.Instance},Path=AniDB_ServerAddress}" IsEnabled="False"/>
<TextBlock Text="{Resx ResxName=Shoko.Commons.Properties.Resources, Key=Port}" Margin="10,5,5,0" VerticalAlignment="Center"></TextBlock>
<TextBox Name="txtPort" Width="50" Margin="0,5,5,0" VerticalAlignment="Center" Text="{Binding Source={x:Static local:VM_ShokoServer.Instance},Path=AniDB_ServerPort}"/>
<TextBox Name="txtPort" Width="50" Margin="0,5,5,0" VerticalAlignment="Center" Text="{Binding Source={x:Static local:VM_ShokoServer.Instance},Path=AniDB_ServerPort}" IsEnabled="False"/>
</StackPanel>

<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="1">
Expand Down

0 comments on commit bf0ca73

Please sign in to comment.