mirror of
https://github.com/euphy/polargraphcontroller
synced 2024-11-15 02:37:56 +01:00
Add try/catch around the previewQueue(). Fixes #19
This commit is contained in:
parent
995db8a8a5
commit
417c18fec7
@ -843,8 +843,17 @@ void drawImagePage()
|
||||
|
||||
showGroupBox();
|
||||
showCurrentMachinePosition();
|
||||
if (displayingQueuePreview)
|
||||
previewQueue();
|
||||
|
||||
try {
|
||||
if (displayingQueuePreview)
|
||||
previewQueue();
|
||||
}
|
||||
catch (ConcurrentModificationException cme)
|
||||
{
|
||||
// not sure why this prompts an exception. Will revisit this another day.
|
||||
println("Caught CME coming from previewQueue(): " + cme.getMessage());
|
||||
}
|
||||
|
||||
if (displayingInfoTextOnInputPage)
|
||||
showText(250,45);
|
||||
drawStatusText((int)statusTextPosition.x, (int)statusTextPosition.y);
|
||||
|
Loading…
Reference in New Issue
Block a user