mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
We rely on OnDragOver checking for valid source controls. So, add a default insertion text for situations in which all typecastings fail. This text should never be visible.
This commit is contained in:
@@ -4129,6 +4129,7 @@ begin
|
||||
// dropping a TTreeNode into the query-memo
|
||||
SynMemoQuery.UndoList.AddGroupBreak;
|
||||
src := Source as TControl;
|
||||
Text := 'Error: Unspecified source control in drag''n drop operation!';
|
||||
// Check for allowed controls as source has already
|
||||
// been performed in OnDragOver. So, only do typecasting here.
|
||||
if src is TTreeView then
|
||||
|
||||
Reference in New Issue
Block a user