mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Access violation
This commit is contained in:
parent
d0c2913cae
commit
af8a9eb0ee
1 changed files with 3 additions and 0 deletions
|
|
@ -1276,7 +1276,10 @@ begin
|
|||
SourceButton := Source as TKASToolButton;
|
||||
TargetToolbar := Sender as TKASToolBar;
|
||||
if SourceButton.ToolBar <> TargetToolBar then
|
||||
begin
|
||||
if (SourceButton = FCurrentButton) then FCurrentButton := nil;
|
||||
SourceButton.ToolBar.MoveButton(SourceButton, TargetToolbar, nil);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue