Skip to content

Commit 6ea3b68

Browse files
committed
Fix Naming Consistency
1 parent ba1de43 commit 6ea3b68

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def setupUi(self, Command):
6060

6161
def retranslateUi(self, Command):
6262
_translate = QtCore.QCoreApplication.translate
63-
Command.setWindowTitle(_translate("Command", "Action Editor"))
63+
Command.setWindowTitle(_translate("Command", "Command Editor"))
6464
self.radioButton.setText(_translate("Command", ".BAT File"))
6565
self.pushButton.setText(_translate("Command", "Select..."))
6666
self.label.setText(_translate("Command", "File"))

command.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
14-
<string>Action Editor</string>
14+
<string>Command Editor</string>
1515
</property>
1616
<layout class="QGridLayout" name="gridLayout">
1717
<item row="0" column="0">

wincontext.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def initUI(self):
9595
self.treeWidget.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
9696
self.lineEdit_4.textChanged.connect(self.search_change)
9797
self.pushButton_2.clicked.connect(self.group_button)
98-
self.pushButton_3.clicked.connect(self.command_button)
98+
self.pushButton_3.clicked.connect(self.action_button)
9999
self.pushButton_6.clicked.connect(self.open_command)
100-
self.treeWidget.itemSelectionChanged.connect(self.command_select)
100+
self.treeWidget.itemSelectionChanged.connect(self.action_select)
101101
self.show()
102102

103103
def search_change(self, text):
@@ -203,10 +203,10 @@ def add_command(self, name, desc):
203203
def group_button(self):
204204
self.add_group(self.lineEdit_6.displayText() if self.lineEdit_6.displayText() != "" else "Group", "Group Description")
205205

206-
def command_button(self):
207-
self.add_command("Command", "Command Description")
206+
def action_button(self):
207+
self.add_command("Action", "Action Description")
208208

209-
def command_select(self):
209+
def action_select(self):
210210
items = self.treeWidget.selectedItems()
211211
selected = len(items)
212212
itemCount = 0

0 commit comments

Comments
 (0)