show is_over in warsTree & fator resources paths
This commit is contained in:
parent
a9cd4c9e27
commit
d869017646
28 changed files with 783 additions and 628 deletions
|
|
@ -2,6 +2,7 @@ from typing import cast, List
|
|||
|
||||
from PyQt6.QtWidgets import QWidget, QDialog
|
||||
|
||||
from warchron.constants import Icons, IconName
|
||||
from warchron.controller.dtos import ObjectiveDTO, RoundDTO
|
||||
from warchron.view.helpers import select_if_exists, format_round_label
|
||||
from warchron.view.ui.ui_sector_dialog import Ui_sectorDialog
|
||||
|
|
@ -42,6 +43,7 @@ class SectorDialog(QDialog):
|
|||
select_if_exists(self.ui.influenceComboBox, default_influence_id)
|
||||
self.ui.sectorMission.setText(default_mission)
|
||||
self.ui.sectorDescription.setPlainText(default_description)
|
||||
self.setWindowIcon(Icons.get(IconName.WARCHRON))
|
||||
|
||||
def get_sector_name(self) -> str:
|
||||
return self.ui.sectorName.text().strip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue