FIX: Shift+Drag icon from main toolbar to middle toolbar error (fixes #1403)

(cherry picked from commit 50e61222c3)
This commit is contained in:
Alexander Koblov 2023-12-20 18:19:10 +03:00
commit 950623ee14

View file

@ -1606,6 +1606,11 @@ begin
FreeAndNil(aFile);
end;
end;
if (Source is TKASToolButton) and (Toolbar <> TKASToolButton(Source).ToolBar) then
begin
Accept := False;
Exit;
end;
if (NumberOfMoveButton <> (Sender as TSpeedButton).Tag) then
begin
Draging := True;