Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
diachronix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
Paul Passy
diachronix
Commits
43c6f5d8
Commit
43c6f5d8
authored
2 years ago
by
Sylvain Théry
Browse files
Options
Downloads
Patches
Plain Diff
Fixed issue when uninstalling plugin (menu keeps there)
parent
56e359e8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
active_channel_evolution.py
+3
-3
3 additions, 3 deletions
active_channel_evolution.py
with
3 additions
and
3 deletions
active_channel_evolution.py
+
3
−
3
View file @
43c6f5d8
...
...
@@ -78,7 +78,7 @@ class active_channel_evolution:
# Declare instance attributes
self
.
actions
=
[]
self
.
menu
=
self
.
tr
(
u
'
&Diachronix
'
)
self
.
menu
=
self
.
tr
(
'
&Diachronix
'
)
# Check if plugin was started the first time in current QGIS session
# Must be set in initGui() to survive plugin reloads
...
...
@@ -180,7 +180,7 @@ class active_channel_evolution:
icon_path
=
'
:/plugins/diachronix/active_channel_evolution_icon.png
'
self
.
add_action
(
icon_path
,
text
=
self
.
tr
(
u
'
Building of the blocks
'
),
text
=
self
.
tr
(
'
Building of the blocks
'
),
callback
=
self
.
run
,
parent
=
self
.
iface
.
mainWindow
())
...
...
@@ -194,7 +194,7 @@ class active_channel_evolution:
for
action
in
self
.
actions
:
print
(
action
)
self
.
iface
.
removePluginMenu
(
self
.
tr
(
u
'
Building of the blocks
'
),
action
)
self
.
tr
(
'
&Diachronix
'
),
action
)
self
.
iface
.
removeToolBarIcon
(
action
)
# some useful functions
...
...
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