Making auto probing cancel correctly when canceled
issue: MatterHackers/MCCentral#4831 Cancelling Bed Leveling causes erratic behavior
This commit is contained in:
parent
20e173110a
commit
a0c93ec476
4 changed files with 45 additions and 25 deletions
|
|
@ -64,11 +64,12 @@ namespace MatterHackers.MatterControl
|
|||
pages.Current?.Close();
|
||||
|
||||
// Advance
|
||||
pages.MoveNext();
|
||||
if (pages.MoveNext())
|
||||
{
|
||||
pages.Current?.PageIsBecomingActive();
|
||||
|
||||
pages.Current?.PageIsBecomingActive();
|
||||
|
||||
dialogWindow.ChangeToPage(pages.Current);
|
||||
dialogWindow.ChangeToPage(pages.Current);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue