Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Cazier
CGoGN
Commits
58b5895c
Commit
58b5895c
authored
Jan 21, 2013
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCHNApps: add plugin to python context after load
parent
11eb2e3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
SCHNApps/src/window.cpp
SCHNApps/src/window.cpp
+2
-0
No files found.
SCHNApps/src/window.cpp
View file @
58b5895c
...
@@ -446,6 +446,8 @@ Plugin* Window::loadPlugin(const QString& pluginFilePath)
...
@@ -446,6 +446,8 @@ Plugin* Window::loadPlugin(const QString& pluginFilePath)
statusbar
->
showMessage
(
pluginName
+
QString
(
" successfully loaded."
),
2000
);
statusbar
->
showMessage
(
pluginName
+
QString
(
" successfully loaded."
),
2000
);
emit
(
pluginAdded
(
plugin
));
emit
(
pluginAdded
(
plugin
));
m_pythonContext
.
addObject
(
pluginName
,
plugin
);
// method success
// method success
return
plugin
;
return
plugin
;
}
}
...
...
Write
Preview
Markdown
is supported
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