Skip to content

Commit

Permalink
Merge pull request #111 from pur1fying/Daodanfd5-patch-1
Browse files Browse the repository at this point in the history
Update emulatorConfig.py
  • Loading branch information
pur1fying committed Jul 14, 2024
2 parents 15842e0 + eae69a6 commit 0d6e5c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/components/expand/emulatorConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, parent=None, config=None):
'key': 'emulator_wait_time'
},
{
'label': '模拟器是否多开',
'label': '是否启用内建的自动扫描模拟器功能(开启后将自动识别系统内已安装的模拟器)',
'type': 'switch',
'key': 'emulatorIsMultiInstance'
}
Expand Down Expand Up @@ -75,7 +75,7 @@ def _createMultiComponent(self):
'bluestacks_nxt_cn': '蓝叠模拟器',
'bluestacks_nxt': '蓝叠国际版'
}
emulatorLabelComponent = QLabel('选择多开模拟器', self)
emulatorLabelComponent = QLabel('选择模拟器类型', self)
multiInstanceNumber = QLabel('多开号', self)
currentInstanceNumber = self.config.get('emulatorMultiInstanceNumber')
multiInstanceNumberInputComponent = LineEdit(self)
Expand All @@ -96,7 +96,7 @@ def _createMultiComponent(self):
self.vBoxLayout.addLayout(self.emulatorMultiHLayout)

def _slotForMultiInstanceNumberChanged(self):
self.config.set('emulatorMultiInstanceNumber', int(self.sender().text()))
self.config.set('emulatorMultiInstanceNumber', self.sender().text())


def _soltForEmulatorIsMultiInstanced(self, state):
Expand Down

0 comments on commit 0d6e5c6

Please sign in to comment.