Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Commit 74e2469

Browse files
authored
Merge pull request #81 from Invvard/feature/hide-update-button
Hide the update button
2 parents 0cf9065 + 217dd8e commit 74e2469

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/InvvardDev.EZLayoutDisplay.Desktop/View/SettingsWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
<Button Content="{Binding UpdateCommandLabel}" Width="75" x:Name="BtnUpdate"
8181
Command="{Binding UpdateLayoutCommand}" IsEnabled="False"
82-
d:LayoutOverrides="TopPosition, BottomPosition" Margin="0" />
82+
d:LayoutOverrides="TopPosition, BottomPosition" Margin="0" Visibility="Hidden" />
8383
<Button Content="{Binding CancelCommandLabel}" Width="75"
8484
Command="{Binding CancelSettingsCommand}"
8585
d:LayoutOverrides="LeftPosition, RightPosition, TopPosition, BottomPosition" Margin="5,0,0,0" />

src/InvvardDev.EZLayoutDisplay.Desktop/View/SettingsWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ public partial class SettingsWindow
99
{
1010
public SettingsWindow()
1111
{
12-
InitializeComponent();
12+
InitializeComponent();
1313

1414
#if DEBUG
1515
BtnUpdate.IsEnabled = true;
1616
BtnUpdate.Visibility = Visibility.Visible;
1717
#endif
1818
}
1919
}
20-
}
20+
}

0 commit comments

Comments
 (0)