kopia lustrzana https://gitlab.com/sane-project/backends
Disable "Low Res" option when snapping a new picture, because we don't
actually have the ability to change the resolutionDEVEL_2_0_BRANCH-1
rodzic
9f3c6f08d3
commit
36ec9846ff
|
@ -1117,7 +1117,9 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
|
||||||
if (gphoto2_opt_snap)
|
if (gphoto2_opt_snap)
|
||||||
{
|
{
|
||||||
/* activate the resolution setting */
|
/* activate the resolution setting */
|
||||||
|
/* Until we figure out how to do this
|
||||||
sod[GPHOTO2_OPT_LOWRES].cap &= ~SANE_CAP_INACTIVE;
|
sod[GPHOTO2_OPT_LOWRES].cap &= ~SANE_CAP_INACTIVE;
|
||||||
|
*/
|
||||||
/* and de-activate the image number selector */
|
/* and de-activate the image number selector */
|
||||||
sod[GPHOTO2_OPT_IMAGE_NUMBER].cap |= SANE_CAP_INACTIVE;
|
sod[GPHOTO2_OPT_IMAGE_NUMBER].cap |= SANE_CAP_INACTIVE;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue