Now right click anywhere on the image to change number color to black
But if between right click and release (After Ctrl+S), there is an accidental drag, the program crashes and produces the following error ( in DEBUG mode)
Note: The program crashes when the rod is still in green mode (before right click).
File "C:\Users\Meera Subramanian\PycharmProjects\Track_Gui\Python\rodnumberwidget.py", line 174, in mouseMoveEvent
diff = global_pos - self.__mouseMovePos
TypeError: unsupported operand type(s) for -: 'QPoint' and 'NoneType'
How it occurred: