eric6/WebBrowser/PageScreenDialog.py

changeset 8227
349308e84eeb
parent 8218
7c09585bd960
equal deleted inserted replaced
8226:6dc5b1db7bdc 8227:349308e84eeb
116 """ 116 """
117 if button == self.buttonBox.button( 117 if button == self.buttonBox.button(
118 QDialogButtonBox.StandardButton.Cancel 118 QDialogButtonBox.StandardButton.Cancel
119 ): 119 ):
120 self.reject() 120 self.reject()
121 elif button == self.buttonBox.button( 121 elif (
122 QDialogButtonBox.StandardButton.Save 122 button == self.buttonBox.button(
123 QDialogButtonBox.StandardButton.Save) and
124 self.__savePageScreen()
123 ): 125 ):
124 if self.__savePageScreen(): 126 self.accept()
125 self.accept()

eric ide

mercurial