Skip to content

Commit

Permalink
Fixed bug where canceling print did not disable buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebullet70 committed Mar 16, 2023
1 parent 2a1162c commit 6a13bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pageViews/pageFiles.bas
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public Sub Update_Printer_Btns

'--- sets enable, disable
mPnlMain.Enabled = oc.isConnected
Dim enableDisable As Boolean = Not (oc.isPrinting Or oc.IsPaused2 Or (clvLastIndexClicked = NO_SELECTION))
Dim enableDisable As Boolean = Not (oc.isCanceling Or oc.isPrinting Or oc.IsPaused2 Or (clvLastIndexClicked = NO_SELECTION))
guiHelpers.EnableDisableBtns2(Array As Button(btnLoad,btnLoadAndPrint,btnDelete),enableDisable)

End Sub
Expand Down

0 comments on commit 6a13bb5

Please sign in to comment.