Пример #1
0
 def reject(self):
     idx = self.stack.currentIndex()
     if idx > 0:
         if confirm_delete(_('Are you sure? Any unsaved changes will be lost.'), 'confirm-cancel-edit-custom-recipe'):
             self.stack.setCurrentIndex(0)
         return
     Dialog.reject(self)
Пример #2
0
 def reject(self):
     idx = self.stack.currentIndex()
     if idx > 0:
         self.stack.setCurrentIndex(0)
         return
     Dialog.reject(self)
Пример #3
0
 def reject(self):
     idx = self.stack.currentIndex()
     if idx > 0:
         self.stack.setCurrentIndex(0)
         return
     Dialog.reject(self)
Пример #4
0
 def reject(self):
     self.abort_disk_usage.set()
     Dialog.reject(self)
Пример #5
0
 def reject(self):
     self.abort_disk_usage.set()
     Dialog.reject(self)