mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Prevents null value.
This commit is contained in:
@@ -290,8 +290,8 @@ namespace Terminal.Gui {
|
||||
|
||||
if (useErrorColors) {
|
||||
d.ColorScheme = Colors.Error;
|
||||
border.BorderBrush = Colors.Error.Normal.Foreground;
|
||||
border.Background = Colors.Error.Normal.Background;
|
||||
d.Border.BorderBrush = Colors.Error.Normal.Foreground;
|
||||
d.Border.Background = Colors.Error.Normal.Background;
|
||||
} else {
|
||||
d.ColorScheme = Colors.Dialog;
|
||||
d.Border.BorderBrush = Colors.Dialog.Normal.Foreground;
|
||||
|
||||
Reference in New Issue
Block a user