5 |
5 |
6 """ |
6 """ |
7 Module implementing the Subversion command dialog. |
7 Module implementing the Subversion command dialog. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSlot |
10 from PyQt6.QtCore import Qt, pyqtSlot |
11 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
11 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
12 |
12 |
13 from eric7 import Utilities |
13 from eric7 import Utilities |
14 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes |
14 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes |
15 |
15 |
40 self.workdirPicker.setMode(EricPathPickerModes.DIRECTORY_MODE) |
40 self.workdirPicker.setMode(EricPathPickerModes.DIRECTORY_MODE) |
41 |
41 |
42 self.okButton = self.buttonBox.button(QDialogButtonBox.StandardButton.Ok) |
42 self.okButton = self.buttonBox.button(QDialogButtonBox.StandardButton.Ok) |
43 self.okButton.setEnabled(False) |
43 self.okButton.setEnabled(False) |
44 |
44 |
|
45 self.commandCombo.completer().setCaseSensitivity( |
|
46 Qt.CaseSensitivity.CaseSensitive |
|
47 ) |
45 self.commandCombo.clear() |
48 self.commandCombo.clear() |
46 self.commandCombo.addItems(argvList) |
49 self.commandCombo.addItems(argvList) |
47 if len(argvList) > 0: |
50 if len(argvList) > 0: |
48 self.commandCombo.setCurrentIndex(0) |
51 self.commandCombo.setCurrentIndex(0) |
49 self.workdirPicker.clear() |
52 self.workdirPicker.clear() |