提交 0c0ab87d 编写于 作者: A Akshar Patel 提交者: Kentaro Wada

feat: set yes button as default in delete warning box

上级 b4d8f082
......@@ -1658,7 +1658,7 @@ class MainWindow(QtWidgets.QMainWindow):
).format(len(self.canvas.selectedShapes))
if yes == QtWidgets.QMessageBox.warning(
self, self.tr('Attention'), msg,
yes | no):
yes | no, yes):
self.remLabels(self.canvas.deleteSelected())
self.setDirty()
if self.noShapes():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册