eric6/Preferences/ToolConfigurationDialog.py

changeset 8222
5994b80b8760
parent 8220
006ee31b4835
equal deleted inserted replaced
8221:0572a215bd2f 8222:5994b80b8760
264 Private slot to check the executable after it has been selected. 264 Private slot to check the executable after it has been selected.
265 265
266 @param path path of the executable 266 @param path path of the executable
267 @type str 267 @type str
268 """ 268 """
269 if path: 269 if path and not Utilities.isinpath(path):
270 if not Utilities.isinpath(path): 270 E5MessageBox.critical(
271 E5MessageBox.critical( 271 self,
272 self, 272 self.tr("Select executable"),
273 self.tr("Select executable"), 273 self.tr(
274 self.tr( 274 "The selected file is not an executable."
275 "The selected file is not an executable." 275 " Please choose an executable filename."))
276 " Please choose an executable filename."))
277 276
278 def on_toolsList_currentRowChanged(self, row): 277 def on_toolsList_currentRowChanged(self, row):
279 """ 278 """
280 Private slot to set the lineedits depending on the selected entry. 279 Private slot to set the lineedits depending on the selected entry.
281 280

eric ide

mercurial