Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse simopenpass
simopenpass
Commits
07244764
Commit
07244764
authored
Nov 02, 2020
by
Uwe Woessner
Browse files
fixed loading systemeditor configs
parent
c28d49f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
OpenPass_Source_Code/openPASS_GUI/openPASS-System/Models/SystemModel.cpp
View file @
07244764
...
...
@@ -25,7 +25,7 @@ SystemModel::SystemModel(ComponentInterface * const component,
,
systems
(
new
SystemMapModel
(
this
))
{
// Load components
components
->
loadFromDirectory
(
QDir
(
QCoreApplication
::
applicationDirPath
()
+
SUBDIR_
LIB
_COMPONENTS
));
components
->
loadFromDirectory
(
QDir
(
QCoreApplication
::
applicationDirPath
()
+
"
\\
..
\\
"
+
SUBDIR_
XML
_COMPONENTS
));
}
bool
SystemModel
::
clear
()
...
...
OpenPass_Source_Code/openPASS_GUI/openPASS-System/Views/SystemComponentManagerView.cpp
View file @
07244764
...
...
@@ -59,8 +59,8 @@ void SystemComponentManagerView::updateManagerView()
ui
->
tree
->
topLevelItem
(
index
)
->
takeChildren
();
}
// Load
again
the components
if
(
_components
->
loadFromDirectory
(
QDir
(
QCoreApplication
::
applicationDirPath
()
+
SUBDIR_
LIB
_COMPONENTS
)))
// Load the components
again
if
(
_components
->
loadFromDirectory
(
QDir
(
QCoreApplication
::
applicationDirPath
()
+
"
\\
..
\\
"
+
SUBDIR_
XML
_COMPONENTS
)))
{
for
(
unsigned
char
index
=
0
;
index
<
ui
->
tree
->
topLevelItemCount
();
++
index
)
{
...
...
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