- fixed a source of possible errors in DetachableTab Widget.
- fixed gcode conversion/scale (on units change) when multiple values are found on each line - replaced the pop-up window for the shortcut list with a new detachable tab - removed the pop-up messages from the rotate, skew, flip commands
This commit is contained in:
@@ -929,7 +929,12 @@ class FCDetachableTab(QtWidgets.QTabWidget):
|
||||
drag.setMimeData(mimeData)
|
||||
# screen = QScreen(self.parentWidget().currentWidget().winId())
|
||||
# Create the appearance of dragging the tab content
|
||||
pixmap = self.parent().widget(self.tabAt(self.dragStartPos)).grab()
|
||||
try:
|
||||
pixmap = self.parent().widget(self.tabAt(self.dragStartPos)).grab()
|
||||
except Exception as e:
|
||||
log.debug("GUIElements.FCDetachable. FCTabBar.mouseMoveEvent() --> %s" % str(e))
|
||||
return
|
||||
|
||||
targetPixmap = QtGui.QPixmap(pixmap.size())
|
||||
targetPixmap.fill(QtCore.Qt.transparent)
|
||||
painter = QtGui.QPainter(targetPixmap)
|
||||
|
||||
Reference in New Issue
Block a user