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 != "/") |