Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wiedemann
MOOC-Workbench
Commits
71ecc4aa
Commit
71ecc4aa
authored
May 13, 2019
by
Jonathan Wiedemann
Browse files
Finally checking version look operationnal
parent
85560377
Changes
1
Hide whitespace changes
Inline
Side-by-side
InitGui.py
View file @
71ecc4aa
...
...
@@ -35,7 +35,7 @@ import FreeCAD as app
import
FreeCADGui
as
gui
global
MOOC_VERSION
MOOC_VERSION
=
'V0.1.0'
MOOC_VERSION
=
'V0.1.0
a
'
moocWBpath
=
os
.
path
.
dirname
(
moocwb_locator
.
__file__
)
moocWBpath_medias
=
os
.
path
.
join
(
moocWBpath
,
'medias'
)
...
...
@@ -93,8 +93,10 @@ class MoocWorkbench ( Workbench ):
else
:
print
(
'Please update Mooc Workbench !'
)
from
PySide2
import
QtWidgets
reply
=
QtWidgets
.
QMessageBox
.
information
(
None
,
u
"
Test
"
,
reply
=
QtWidgets
.
QMessageBox
.
information
(
None
,
u
"
/!\ Mise à jour nécessaire... /!
\
"
,
u'''Votre version de l'atelier MOOC est obsolète.
\n
Merci de le mettre à jour à l'aide de l'addon manager.''')
# only check the first occurence
break
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment