Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enpt_enmapboxapp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EnMAP
GFZ_Tools_EnMAP_BOX
enpt_enmapboxapp
Commits
1e5fcd2a
Commit
1e5fcd2a
authored
2 years ago
by
Daniel Scheffler
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/fix_alphanumeric_menu' into 'main'
Bugfix/fix alphanumeric menu See merge request
!24
parents
09ea19b8
62728be7
No related branches found
No related tags found
1 merge request
!24
Bugfix/fix alphanumeric menu
Pipeline
#55879
canceled
2 years ago
Stage: test
Changes
3
Pipelines
4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
HISTORY.rst
+8
-1
8 additions, 1 deletion
HISTORY.rst
enpt_enmapboxapp/enpt_enmapboxapp.py
+5
-5
5 additions, 5 deletions
enpt_enmapboxapp/enpt_enmapboxapp.py
enpt_enmapboxapp/version.py
+2
-2
2 additions, 2 deletions
enpt_enmapboxapp/version.py
with
15 additions
and
8 deletions
HISTORY.rst
+
8
−
1
View file @
1e5fcd2a
...
...
@@ -2,10 +2,17 @@
History
=======
0.7.1 (2022-08-26)
------------------
* Fixed incorrect method name in the context of the alphanumeric menu entry (!24).
0.7.0 (2022-08-26)
------------------
* Alpha
bet
ic order is now preserved when adding the EnPT entry into the menu in the EnMAP-Box (!16).
* Alpha
numer
ic order is now preserved when adding the EnPT entry into the menu in the EnMAP-Box (!16).
* Migrated test calls from nosetests to pytest and implemented new test report (!17).
* Fixed CI tests, they now use EnMAP-Box 3.9 + QGIS 3.18 (!18, !19, !20).
* Refactored 'Anaconda' to 'Conda' to also include Miniconda, MiniForge, and MambaForge (!22).
...
...
This diff is collapsed.
Click to expand it.
enpt_enmapboxapp/enpt_enmapboxapp.py
+
5
−
5
View file @
1e5fcd2a
...
...
@@ -76,11 +76,11 @@ class EnPTEnMAPBoxApp(_EnMAPBoxApplication):
# appMenu = self.enmapbox.menu('Tools')
menu_entry
=
'
EnPT (EnMAP Processing Tool)
'
_alpha
bet
ic_menu
=
False
_alpha
numer
ic_menu
=
False
try
:
# alpha
bet
ic menu was implemented in EnMAP-Box around 3.10.1
menu
=
self
.
utilsAddMenuInAlpha
bet
icOrder
(
appMenu
,
menu_entry
)
_alpha
bet
ic_menu
=
True
# alpha
numer
ic menu
ordering
was implemented in EnMAP-Box around 3.10.1
menu
=
self
.
utilsAddMenuInAlpha
numer
icOrder
(
appMenu
,
menu_entry
)
_alpha
numer
ic_menu
=
True
except
AttributeError
:
menu
=
appMenu
.
addMenu
(
menu_entry
)
menu
.
setIcon
(
self
.
icon
())
...
...
@@ -93,7 +93,7 @@ class EnPTEnMAPBoxApp(_EnMAPBoxApplication):
assert
isinstance
(
a
,
QAction
)
a
.
triggered
.
connect
(
self
.
startGUI
)
if
not
_alpha
bet
ic_menu
:
if
not
_alpha
numer
ic_menu
:
appMenu
.
addMenu
(
menu
)
return
menu
...
...
This diff is collapsed.
Click to expand it.
enpt_enmapboxapp/version.py
+
2
−
2
View file @
1e5fcd2a
...
...
@@ -22,6 +22,6 @@
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__
=
'
0.7.
0
'
__versionalias__
=
'
2022
0826
.01
'
__version__
=
'
0.7.
1
'
__versionalias__
=
'
2022
1004
.01
'
__author__
=
'
Daniel Scheffler
'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment