choice tie-break and random fallback + exception cleanup + war<->camp pid
This commit is contained in:
parent
241d7f10f5
commit
241e76c937
15 changed files with 241 additions and 157 deletions
|
|
@ -111,7 +111,15 @@ class AppController:
|
|||
path = self.view.ask_open_file()
|
||||
if not path:
|
||||
return
|
||||
self.model.load(path)
|
||||
try:
|
||||
self.model.load(path)
|
||||
except RuntimeError as e:
|
||||
QMessageBox.warning(
|
||||
self.view,
|
||||
"Add forbidden",
|
||||
str(e),
|
||||
)
|
||||
return
|
||||
self.current_file = path
|
||||
self.is_dirty = False
|
||||
self.navigation.refresh_players_view()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue