File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ You now need the latest version of your Linux distribution or at least Windows 1
88
99- I forgot to actually assign the second ISO stuff. Now I realised and fixed it.
1010- The translations are now more complete too.
11+ - Also, the RTC checkbox enables and disables the time options in the start VM dialog.
1112
1213# EmuGUI v1.2.0.5510 "Garuka Pula" (based on v1.2.0.5509_rc2)
1314
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def __init__(self, parent=None):
6363 print (self .vmSpecs )
6464 self .setWindowTitle (f"EmuGUI - Start { self .vmSpecs [0 ]} " )
6565 self .langDetect ()
66+ self .timeUsageTrigger ()
6667
6768 try :
6869 self .setWindowIcon (QtGui .QIcon ("EmuGUI.png" ))
@@ -84,6 +85,16 @@ def connectSignalsSlots(self):
8485 self .pushButton_3 .clicked .connect (self .start_virtual_machine )
8586 self .pushButton_4 .clicked .connect (self .close )
8687 self .pushButton_5 .clicked .connect (self .set_date_to_system )
88+ self .checkBox .clicked .connect (self .timeUsageTrigger )
89+
90+ def timeUsageTrigger (self ):
91+ if self .checkBox .isChecked ():
92+ self .dateTimeEdit .setEnabled (True )
93+ self .pushButton_5 .setEnabled (True )
94+
95+ else :
96+ self .dateTimeEdit .setEnabled (False )
97+ self .pushButton_5 .setEnabled (False )
8798
8899 def langDetect (self ):
89100 select_language = """
You can’t perform that action at this time.
0 commit comments