Exemple #1
0
 def reject(self):
     if question_dialog(self,
                        _('Are you sure?'),
                        _('You will lose any unsaved changes. To save your'
                          ' changes, click the Add/Update recipe button.'
                          ' Continue?'),
                        show_copy_button=False):
         ResizableDialog.reject(self)
Exemple #2
0
 def reject(self):
     if question_dialog(
         self,
         _("Are you sure?"),
         _(
             "You will lose any unsaved changes. To save your"
             " changes, click the Add/Update recipe button."
             " Continue?"
         ),
         show_copy_button=False,
     ):
         ResizableDialog.reject(self)
Exemple #3
0
 def reject(self):
     self.save_state()
     ResizableDialog.reject(self)
Exemple #4
0
 def reject(self):
     self.break_cycles()
     ResizableDialog.reject(self)
Exemple #5
0
 def reject(self):
     self.save_state()
     ResizableDialog.reject(self)
Exemple #6
0
 def reject(self):
     dynamic.set("catalog_window_geom", bytearray(self.saveGeometry()))
     ResizableDialog.reject(self)
Exemple #7
0
 def reject(self):
     self.break_cycles()
     ResizableDialog.reject(self)
Exemple #8
0
 def reject(self):
     dynamic.set('catalog_window_geom', bytearray(self.saveGeometry()))
     ResizableDialog.reject(self)