Skip to content

Commit 52c3d01

Browse files
committed
Dont change input while scanning
1 parent 2ec1806 commit 52c3d01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Source/NETworkManager/ViewModels/IPScannerViewModel.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public IPScannerProfileInfo SelectedProfile
279279
if (value == _selectedProfile)
280280
return;
281281

282-
if (value != null)
282+
if (value != null && !IsScanRunning)
283283
IPRange = value.IPRange;
284284

285285
_selectedProfile = value;

‎Source/NETworkManager/ViewModels/PortScannerViewModel.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public PortScannerProfileInfo SelectedProfile
295295

296296
_selectedProfile = value;
297297

298-
if (value != null)
298+
if (value != null && !IsScanRunning)
299299
{
300300
Host = value.Hostname;
301301
Port = value.Ports;

0 commit comments

Comments
 (0)