summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-10-06 21:38:54 +0000
committersr55 <[email protected]>2008-10-06 21:38:54 +0000
commita6f41219f1a6251da2ae5d31202b88adcce1ffc2 (patch)
tree71f4bfc69b2801f00717f19a5c143b2202583832 /win
parent71febc94826583e61194ad98ff91ace2dc2366cf (diff)
WinGui:
- Another small improvement to the activity window. If the user has only selected a small block of text, then the copy to clipboard function now only copies that, rather than the full log. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1818 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/frmActivityWindow.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs
index c0911eaca..cb2bbc222 100644
--- a/win/C#/frmActivityWindow.cs
+++ b/win/C#/frmActivityWindow.cs
@@ -138,7 +138,10 @@ namespace Handbrake
/// <param name="e"></param>
private void btn_copy_Click(object sender, EventArgs e)
{
- Clipboard.SetDataObject(rtf_actLog.Text, true);
+ if (rtf_actLog.SelectedText != "")
+ Clipboard.SetDataObject(rtf_actLog.SelectedText, true);
+ else
+ Clipboard.SetDataObject(rtf_actLog.Text, true);
}
/// <summary>