diff --git a/ShareX.HelpersLib/Forms/ClipboardViewerForm.cs b/ShareX.HelpersLib/Forms/ClipboardViewerForm.cs
index e9ec0bee3..b44abc5f6 100644
--- a/ShareX.HelpersLib/Forms/ClipboardViewerForm.cs
+++ b/ShareX.HelpersLib/Forms/ClipboardViewerForm.cs
@@ -38,7 +38,10 @@ public ClipboardViewerForm()
{
InitializeComponent();
ShareXResources.ApplyTheme(this);
+ }
+ private void ClipboardViewerForm_Load(object sender, EventArgs e)
+ {
RefreshClipboardContentList();
}
@@ -85,11 +88,7 @@ private void UpdateSelectedClipboardContent()
{
object data = CurrentDataObject.GetData(format);
- if (data == null)
- {
- RefreshClipboardContentList();
- }
- else
+ if (data != null)
{
try
{
diff --git a/ShareX.HelpersLib/Forms/ClipboardViewerForm.designer.cs b/ShareX.HelpersLib/Forms/ClipboardViewerForm.designer.cs
index 53186f3be..82dec8f9b 100644
--- a/ShareX.HelpersLib/Forms/ClipboardViewerForm.designer.cs
+++ b/ShareX.HelpersLib/Forms/ClipboardViewerForm.designer.cs
@@ -97,6 +97,7 @@ private void InitializeComponent()
this.Controls.Add(this.txtSelectedClipboardContent);
this.DoubleBuffered = true;
this.Name = "ClipboardViewerForm";
+ this.Load += new System.EventHandler(this.ClipboardViewerForm_Load);
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/ShareX.HelpersLib/Forms/ClipboardViewerForm.resx b/ShareX.HelpersLib/Forms/ClipboardViewerForm.resx
index 861f937f5..fe1fdc650 100644
--- a/ShareX.HelpersLib/Forms/ClipboardViewerForm.resx
+++ b/ShareX.HelpersLib/Forms/ClipboardViewerForm.resx
@@ -247,7 +247,7 @@
pbSelectedClipboardContent
- ShareX.HelpersLib.MyPictureBox, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null
+ ShareX.HelpersLib.MyPictureBox, ShareX.HelpersLib, Version=14.1.4.0, Culture=neutral, PublicKeyToken=null
$this
@@ -264,9 +264,6 @@
784, 561
-
- NoControl
-
CenterScreen