diff options
author | sr55 <[email protected]> | 2008-10-06 21:38:54 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-10-06 21:38:54 +0000 |
commit | a6f41219f1a6251da2ae5d31202b88adcce1ffc2 (patch) | |
tree | 71f4bfc69b2801f00717f19a5c143b2202583832 /win | |
parent | 71febc94826583e61194ad98ff91ace2dc2366cf (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.cs | 5 |
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>
|