eric6/CondaInterface/CondaExportDialog.py

changeset 8257
28146736bbfc
parent 8218
7c09585bd960
equal deleted inserted replaced
8256:26a8b92aeabd 8257:28146736bbfc
105 105
106 def __refresh(self): 106 def __refresh(self):
107 """ 107 """
108 Private slot to refresh the displayed list. 108 Private slot to refresh the displayed list.
109 """ 109 """
110 if self.__requirementsEdited: 110 ok = (
111 ok = E5MessageBox.yesNo( 111 E5MessageBox.yesNo(
112 self, 112 self,
113 self.tr("Generate Requirements"), 113 self.tr("Generate Requirements"),
114 self.tr("""The requirements were changed. Do you want""" 114 self.tr("""The requirements were changed. Do you want"""
115 """ to overwrite these changes?""")) 115 """ to overwrite these changes?"""))
116 else: 116 if self.__requirementsEdited else
117 ok = True 117 True
118 )
118 if ok: 119 if ok:
119 self.start() 120 self.start()
120 121
121 def start(self): 122 def start(self):
122 """ 123 """

eric ide

mercurial