Browse Source

trivial changes

master
Nils 4 years ago
parent
commit
b6c204ac83
  1. 2
      template/engine/session.py
  2. 2
      template/qtgui/submenus.py

2
template/engine/session.py

@ -125,7 +125,7 @@ class Session(object):
warn(error)
if result and "version" in result and "origin" in result and result["origin"] == METADATA["url"]:
if METADATA["version"] >= result["version"]:
if result["version"] >= METADATA["version"]:
self.guiWasSavedAsNSMVisible = result["guiWasSavedAsNSMVisible"]
self.guiSharedDataToSave = result["guiSharedDataToSave"]
assert type(self.guiSharedDataToSave) is dict, self.guiSharedDataToSave

2
template/qtgui/submenus.py

@ -1,7 +1,7 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright 2019, Nils Hilbricht, Germany ( https://www.hilbricht.net )
Copyright 2020, Nils Hilbricht, Germany ( https://www.hilbricht.net )
This file is part of the Laborejo Software Suite ( https://www.laborejo.org ),
more specifically its template base application.

Loading…
Cancel
Save