mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 07:15:31 +03:00
Don't disable driver-specific checkboxes
Now that devices are picked in combination with drivers, it makes sense to decouple the driver from available settings.
This commit is contained in:
parent
5994f6ca54
commit
c275304c66
@ -130,12 +130,8 @@ public class AdvancedProfileForm : EtoDialogBase
|
||||
|
||||
private void UpdateEnabled()
|
||||
{
|
||||
_twainImpl.Enabled = ScanProfile!.DriverName == DriverNames.TWAIN;
|
||||
_twainProgress.Enabled = ScanProfile!.DriverName == DriverNames.TWAIN;
|
||||
_offsetWidth.Enabled = ScanProfile.DriverName == DriverNames.WIA;
|
||||
_wiaVersion.Enabled = ScanProfile.DriverName == DriverNames.WIA;
|
||||
_quality.Enabled = !_maximumQuality.IsChecked();
|
||||
_whiteThreshold.Enabled = _excludeBlank.IsChecked() && ScanProfile.BitDepth != ScanBitDepth.BlackWhite;
|
||||
_whiteThreshold.Enabled = _excludeBlank.IsChecked() && ScanProfile!.BitDepth != ScanBitDepth.BlackWhite;
|
||||
_coverageThreshold.Enabled = _excludeBlank.IsChecked();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user