Local mod name based on username
parent
2f6b1a8a33
commit
93d7e0dce2
|
@ -1,5 +1,6 @@
|
|||
import sys
|
||||
import os
|
||||
import getpass
|
||||
|
||||
from tape_editor_widgets import *
|
||||
|
||||
|
@ -23,9 +24,10 @@ class OptionsWidget(QWidget):
|
|||
|
||||
# Name options
|
||||
self.name_line_edit = QLineEdit()
|
||||
self.name_line_edit.setText(f"{getpass.getuser()} mixtape")
|
||||
self.name_hbox = QHBoxLayout()
|
||||
self.name_hbox.addWidget(self.name_line_edit)
|
||||
self.name_gbox = QGroupBox("Local mod name")
|
||||
self.name_gbox = QGroupBox("Local mod")
|
||||
self.name_gbox.setCheckable(True)
|
||||
self.name_gbox.setLayout(self.name_hbox)
|
||||
|
||||
|
|
Loading…
Reference in New Issue