diff --git a/source/blender/editors/sculpt_paint/paint_vertex.cc b/source/blender/editors/sculpt_paint/paint_vertex.cc
index 7ee16f2c02942620de06579910953b19f15d302f..395f82438987ab55fbc9206a6ad7242b47a908f6 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.cc
+++ b/source/blender/editors/sculpt_paint/paint_vertex.cc
@@ -2320,7 +2320,7 @@ void PAINT_OT_vertex_color_set(wmOperatorType *ot)
   ot->description = "Fill the active vertex color layer with the current paint color";
 
   ot->exec = vertex_color_set_exec;
-  ot->poll = vertex_paint_mode_poll;
+  ot->poll = vertex_paint_poll;
 
   ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;