equal
deleted
inserted
replaced
155 open_wxglade = True |
155 open_wxglade = True |
156 if not self.GetCTRoot().CheckProjectPathPerm(): |
156 if not self.GetCTRoot().CheckProjectPathPerm(): |
157 dialog = wx.MessageDialog(self.GetCTRoot().AppFrame, |
157 dialog = wx.MessageDialog(self.GetCTRoot().AppFrame, |
158 _("You don't have write permissions.\nOpen wxGlade anyway ?"), |
158 _("You don't have write permissions.\nOpen wxGlade anyway ?"), |
159 _("Open wxGlade"), |
159 _("Open wxGlade"), |
160 wx.YES_NO|wx.ICON_QUESTION) |
160 wx.YES_NO | wx.ICON_QUESTION) |
161 open_wxglade = dialog.ShowModal() == wx.ID_YES |
161 open_wxglade = dialog.ShowModal() == wx.ID_YES |
162 dialog.Destroy() |
162 dialog.Destroy() |
163 if open_wxglade: |
163 if open_wxglade: |
164 if not os.path.exists(wxg_filename): |
164 if not os.path.exists(wxg_filename): |
165 hmi_name = self.BaseParams.getName() |
165 hmi_name = self.BaseParams.getName() |