mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
safer connection tree gui updating
This commit is contained in:
@@ -116,6 +116,12 @@ namespace mRemoteNG.UI.Controls
|
||||
/// </summary>
|
||||
private void AutoResizeColumn(ColumnHeader column)
|
||||
{
|
||||
if (InvokeRequired)
|
||||
{
|
||||
Invoke((MethodInvoker) (() => AutoResizeColumn(column)));
|
||||
return;
|
||||
}
|
||||
|
||||
var longestIndentationAndTextWidth = int.MinValue;
|
||||
var horizontalScrollOffset = LowLevelScrollPosition.X;
|
||||
const int padding = 10;
|
||||
|
||||
Reference in New Issue
Block a user