예제 #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
파일: single.py 프로젝트: JapaChin/calibre
 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)