Skip to content

Commit 0fe3795

Browse files
committed
Reduced required reboots
1 parent 2711aee commit 0fe3795

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# EmuGUI v0.6.4
2+
3+
- Reduced the number of required restarts by putting the incorporate code into a seperate except clause for every language block.
4+
15
# EmuGUI v0.6.3
26

37
- Added a restart dialog for general settings

main.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, parent=None):
3232
self.connectSignalsSlots()
3333
self.timer = QTimer()
3434
self.timer.timeout.connect(self.updateVmList)
35-
self.label_8.setText("EmuGUI v0.6.3")
35+
self.label_8.setText("EmuGUI v0.6.4")
3636
self.setWindowTitle("EmuGUI")
3737
self.languageInUse = "system"
3838

@@ -42,7 +42,7 @@ def __init__(self, parent=None):
4242
except:
4343
pass
4444

45-
self.versionCode = 5017
45+
self.versionCode = 5018
4646

4747
if platform.system() == "Windows":
4848
self.connection = platformSpecific.windowsSpecific.setupWindowsBackend()
@@ -1492,8 +1492,9 @@ def applyGeneric(self):
14921492
except sqlite3.Error as e:
14931493
print(f"The SQLite module encountered an error: {e}.")
14941494

1495-
dialog = SettingsRequireEmuGUIReboot(self)
1496-
dialog.exec()
1495+
except:
1496+
dialog = SettingsRequireEmuGUIReboot(self)
1497+
dialog.exec()
14971498

14981499
elif self.comboBox_4.currentText() == "English":
14991500
langmode = "en"
@@ -1529,8 +1530,9 @@ def applyGeneric(self):
15291530
except sqlite3.Error as e:
15301531
print(f"The SQLite module encountered an error: {e}.")
15311532

1532-
dialog = SettingsRequireEmuGUIReboot(self)
1533-
dialog.exec()
1533+
except:
1534+
dialog = SettingsRequireEmuGUIReboot(self)
1535+
dialog.exec()
15341536

15351537
elif self.comboBox_4.currentText() == "Deutsch":
15361538
langmode = "de"
@@ -1566,8 +1568,9 @@ def applyGeneric(self):
15661568
except sqlite3.Error as e:
15671569
print(f"The SQLite module encountered an error: {e}.")
15681570

1569-
dialog = SettingsRequireEmuGUIReboot(self)
1570-
dialog.exec()
1571+
except:
1572+
dialog = SettingsRequireEmuGUIReboot(self)
1573+
dialog.exec()
15711574

15721575
elif self.comboBox_4.currentText() == "Українська":
15731576
langmode = "uk"
@@ -1603,8 +1606,9 @@ def applyGeneric(self):
16031606
except sqlite3.Error as e:
16041607
print(f"The SQLite module encountered an error: {e}.")
16051608

1606-
dialog = SettingsRequireEmuGUIReboot(self)
1607-
dialog.exec()
1609+
except:
1610+
dialog = SettingsRequireEmuGUIReboot(self)
1611+
dialog.exec()
16081612

16091613
def checkForUpdatesManually(self):
16101614
manually = True

update.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
stable = 5016
2-
pre_release = 5016
1+
stable = 5017
2+
pre_release = 5017

0 commit comments

Comments
 (0)