mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-03 02:36:50 +13:00
Merge pull request #4401 from Scrxtchy/QRDefaultOptions
Use Default Task Settings for screen QR scanner
This commit is contained in:
commit
096727311e
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ private void btnDecodeFromScreen_Click(object sender, EventArgs e)
|
|||
Hide();
|
||||
Thread.Sleep(250);
|
||||
|
||||
using (Image img = RegionCaptureTasks.GetRegionImage(null))
|
||||
using (Image img = RegionCaptureTasks.GetRegionImage(TaskSettings.GetDefaultTaskSettings().CaptureSettings.SurfaceOptions))
|
||||
{
|
||||
if (img != null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue