Remove confirmation when deleting a ROI
This commit is contained in:
parent
77d5fae05f
commit
1f01cf9074
@ -1101,9 +1101,6 @@ class MainWindow(QMainWindow, WindowMixin):
|
||||
self.setDirty()
|
||||
|
||||
def deleteSelectedShape(self):
|
||||
yes, no = QMessageBox.Yes, QMessageBox.No
|
||||
msg = u'You are about to permanently delete this Box, proceed anyway?'
|
||||
if yes == QMessageBox.warning(self, u'Attention', msg, yes | no):
|
||||
self.remLabel(self.canvas.deleteSelected())
|
||||
self.setDirty()
|
||||
if self.noShapes():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user