325 self.putAsButton.setEnabled(enable) |
325 self.putAsButton.setEnabled(enable) |
326 |
326 |
327 @pyqtSlot(str) |
327 @pyqtSlot(str) |
328 def on_localCwd_textChanged(self, cwd): |
328 def on_localCwd_textChanged(self, cwd): |
329 """ |
329 """ |
330 Public slot handling a change of the current local working directory. |
330 Private slot handling a change of the current local working directory. |
331 |
331 |
332 @param cwd current local working directory |
332 @param cwd current local working directory |
333 @type str |
333 @type str |
334 """ |
334 """ |
335 self.localUpButton.setEnabled(cwd != os.sep) |
335 self.localUpButton.setEnabled(cwd != os.sep) |
420 self.saveButton.setEnabled(enable) |
420 self.saveButton.setEnabled(enable) |
421 |
421 |
422 @pyqtSlot(str) |
422 @pyqtSlot(str) |
423 def on_deviceCwd_textChanged(self, cwd): |
423 def on_deviceCwd_textChanged(self, cwd): |
424 """ |
424 """ |
425 Public slot handling a change of the current device working directory. |
425 Private slot handling a change of the current device working directory. |
426 |
426 |
427 @param cwd current device working directory |
427 @param cwd current device working directory |
428 @type str |
428 @type str |
429 """ |
429 """ |
430 self.deviceUpButton.setEnabled(cwd != "/") |
430 self.deviceUpButton.setEnabled(cwd != "/") |