2121
2222from PyQt5 .QtCore import Qt , QCoreApplication
2323from PyQt5 .QtWidgets import QLabel , QMessageBox
24- from PyQt5 .QtGui import QPixmap
2524from importlib import reload
2625from plasmac import rectangle as RECTANGLE
2726
@@ -41,10 +40,6 @@ def preview(P, W, Conv):
4140 styles [n ] = 'chamfer'
4241 elif W ['r{}Button' .format (n )].text ().startswith (_translate ('Conversational' , 'iRADIUS' )):
4342 styles [n ] = 'intRadius'
44- style1 = W .r1Button .text ()
45- style2 = W .r1Button .text ()
46- style3 = W .r1Button .text ()
47- style4 = W .r1Button .text ()
4843 error = RECTANGLE .preview (Conv , P .fTmp , P .fNgc , P .fNgcBkp , \
4944 int (W .conv_material .currentText ().split (':' )[0 ]), \
5045 W .conv_material .currentText ().split (':' )[1 ].strip (), \
@@ -81,7 +76,7 @@ def auto_preview(P, W, Conv, button=False):
8176 preview (P , W , Conv )
8277
8378def entry_changed (P , W , Conv , widget ):
84- error = Conv .conv_entry_changed (P , W , widget )
79+ Conv .conv_entry_changed (P , W , widget )
8580
8681def rad_button_pressed (P , W , Conv , button , value ):
8782 if button .text ().split ()[0 ] == _translate ('Conversational' , 'RADIUS' ):
0 commit comments