Skip to content

Commit 66a04be

Browse files
authored
Resolved the biggest issue EmuGUI ever had...
1 parent 8957b23 commit 66a04be

17 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# EmuGUI v0.4.2
22

3-
- Upgraded binaries to Python 3.10.4
43
- Added compiling instructions for Anaconda to README.md
4+
- Resolved an issue which caused some virtual machines to be impossible to create
55

66
# EmuGUI v0.4.1
77

114 Bytes
Binary file not shown.
6 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

dialogExecution/editVirtualMachine.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,10 @@ def finishCreation(self):
503503

504504
add_args = self.lineEdit_2.text()
505505

506-
if self.checkBox_3.isChecked():
506+
if self.checkBox_3.isChecked() or self.checkBox.isChecked() or self.comboBox_13.currentText() == "USB Mouse":
507+
usb_support = 1
508+
509+
elif self.comboBox_13.currentText() == "USB Tablet Device" or self.comboBox_16.currentText() == "USB Keyboard":
507510
usb_support = 1
508511

509512
else:

dialogExecution/newVirtualMachine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ def finishCreation(self):
292292

293293
add_args = self.lineEdit_2.text()
294294

295-
if self.checkBox_3.isChecked() or self.checkBox.isChecked() or self.comboBox_13.currentText("USB Mouse"):
295+
if self.checkBox_3.isChecked() or self.checkBox.isChecked() or self.comboBox_13.currentText() == "USB Mouse":
296296
usb_support = 1
297297

298-
elif self.comboBox_13.currentText("USB Tablet Device") or self.comboBox_16.currentText("USB Keyboard"):
298+
elif self.comboBox_13.currentText() == "USB Tablet Device" or self.comboBox_16.currentText() == "USB Keyboard":
299299
usb_support = 1
300300

301301
else:

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, parent=None):
2121
self.connectSignalsSlots()
2222
self.timer = QTimer()
2323
self.timer.timeout.connect(self.updateVmList)
24-
self.label_8.setText("EmuGUI v0.4.1")
24+
self.label_8.setText("EmuGUI v0.4.2")
2525
self.setWindowTitle("EmuGUI")
2626

2727
if platform.system() == "Windows":
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)