mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Minor combobox fixes
This commit is contained in:
parent
986047b36d
commit
91951798fe
@ -610,8 +610,8 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
_listViewShown = false;
|
||||
}
|
||||
|
||||
var form = FindForm();
|
||||
if (form != null)
|
||||
var form = _listView == null ? FindForm() : _listView.FindForm();
|
||||
if (form != null && _listView != null)
|
||||
{
|
||||
form.Controls.Remove(_listView);
|
||||
form.Invalidate();
|
||||
@ -812,6 +812,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
ForeColor = UiUtil.ForeColor;
|
||||
Parent.BackColor = BackColor;
|
||||
Parent.ForeColor = ForeColor;
|
||||
Parent.Invalidate();
|
||||
|
||||
var hasScrollBar = false;
|
||||
if (listViewItems.Count > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user