浏览代码

fix context menu popup on fill control

Johann 5 年之前
父节点
当前提交
8607122646
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lazpaint/maintoolbar.inc

+ 1 - 0
lazpaint/maintoolbar.inc

@@ -22,6 +22,7 @@ procedure TFMain.CreateToolbarElements;
       vf.GradInterpolation:= ColorInterpolation;
     end;
     if Assigned(lbl) then lbl.OnMouseMove:= mouseMove;
+    pnl.PopupMenu := nil;
     pnl.OnMouseMove:= mouseMove;
     vf.OnMouseMove:= mouseMove;
   end;