示例#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)
示例#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)
示例#3
0
 def reject(self):
     self.save_state()
     ResizableDialog.reject(self)
示例#4
0
文件: single.py 项目: Hainish/calibre
 def reject(self):
     self.break_cycles()
     ResizableDialog.reject(self)
示例#5
0
 def reject(self):
     self.save_state()
     ResizableDialog.reject(self)
示例#6
0
 def reject(self):
     dynamic.set("catalog_window_geom", bytearray(self.saveGeometry()))
     ResizableDialog.reject(self)
示例#7
0
文件: single.py 项目: tokot/calibre
 def reject(self):
     self.break_cycles()
     ResizableDialog.reject(self)
示例#8
0
文件: catalog.py 项目: tokot/calibre
 def reject(self):
     dynamic.set('catalog_window_geom', bytearray(self.saveGeometry()))
     ResizableDialog.reject(self)