mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Streamlining
This commit is contained in:
parent
a357097c49
commit
88a5179653
@ -168,7 +168,7 @@ def run_ui(game: Optional[Game], ui_flags: UiFlags) -> None:
|
||||
window = QLiberationWindow(game, ui_flags)
|
||||
window.showMaximized()
|
||||
splash.finish(window)
|
||||
qt_execution_code = app.exec_()
|
||||
qt_execution_code = app.exec()
|
||||
|
||||
# Restore Mission Scripting file
|
||||
logging.info("QT App terminated with status code : " + str(qt_execution_code))
|
||||
|
||||
@ -9,7 +9,8 @@ from PySide6.QtCore import (
|
||||
Qt,
|
||||
)
|
||||
from PySide6.QtGui import (
|
||||
QContextMenuEvent, QAction,
|
||||
QContextMenuEvent,
|
||||
QAction,
|
||||
)
|
||||
from PySide6.QtWidgets import (
|
||||
QAbstractItemView,
|
||||
|
||||
@ -115,6 +115,7 @@ class CheatSettingsBox(QGroupBox):
|
||||
def show_transfer_cheat(self) -> bool:
|
||||
return self.transfer_cheat_checkbox.isChecked()
|
||||
|
||||
@property
|
||||
def enable_runway_state_cheat(self) -> bool:
|
||||
return self.base_runway_state_cheat_checkbox.isChecked()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user