diff --git a/src/app/ui/editor/standby_state.cpp b/src/app/ui/editor/standby_state.cpp index b47025e8f..6261da53f 100644 --- a/src/app/ui/editor/standby_state.cpp +++ b/src/app/ui/editor/standby_state.cpp @@ -227,7 +227,7 @@ bool StandbyState::onMouseDown(Editor* editor, MouseMessage* msg) if (clickedInk->isEyedropper()) { Command* eyedropper_cmd = CommandsModule::instance()->getCommandByName(CommandId::Eyedropper); - bool fg = (static_cast(clickedInk)->target() == tools::PickInk::Target::Fg); + bool fg = (static_cast(clickedInk)->target() == tools::PickInk::Fg); Params params; params.set("target", fg ? "foreground": "background");