From d806015f664376afc546b0f2b94685971a8bef65 Mon Sep 17 00:00:00 2001 From: Amy Zala Date: Fri, 19 Mar 2021 19:30:27 -0400 Subject: [PATCH] Adding PR #41 Fixed the display of the selected item in the combobox when changing its visibility from ricardodalarme:FixedComboBox --- DarkUI/Controls/DarkComboBox.cs | 5 +++++ SOURCES.md | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/DarkUI/Controls/DarkComboBox.cs b/DarkUI/Controls/DarkComboBox.cs index 400cb11..0086707 100644 --- a/DarkUI/Controls/DarkComboBox.cs +++ b/DarkUI/Controls/DarkComboBox.cs @@ -89,6 +89,11 @@ protected override void OnSelectedValueChanged(EventArgs e) Invalidate(); } + protected override void OnVisibleChanged(EventArgs e) { + base.OnVisibleChanged(e); + Invalidate(); + } + protected override void OnInvalidated(InvalidateEventArgs e) { base.OnInvalidated(e); diff --git a/SOURCES.md b/SOURCES.md index 9561b79..c20b3a9 100644 --- a/SOURCES.md +++ b/SOURCES.md @@ -11,4 +11,6 @@ These PRs came from RobinPerris' Repo 1. #23 https://github.com/RobinPerris/DarkUI/pull/23 - Theme System from solalem:theme_support 2. #40 https://github.com/RobinPerris/DarkUI/pull/40 - - Fixed DarkComboBox disabled text color from janrobas:master \ No newline at end of file + - Fixed DarkComboBox disabled text color from janrobas:master +3. #41 https://github.com/RobinPerris/DarkUI/pull/41 + - Fixed the display of the selected item in the combobox when changing its visibility from ricardodalarme:FixedComboBox \ No newline at end of file