Skip to content

Commit f56fb43

Browse files
committed
remove help menu when unloading.
1 parent 32c178a commit f56fb43

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

datetimetools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def unload(self):
8787
self.iface.removeToolBarIcon(self.addSunAction)
8888
self.iface.removePluginMenu('Date/Time Tools', self.addTZAction)
8989
self.iface.removeToolBarIcon(self.addTZAction)
90+
self.iface.removePluginMenu('Date/Time Tools', self.helpAction)
9091
del self.toolbar
9192
if self.conversionDialog:
9293
self.iface.removeDockWidget(self.conversionDialog)

metadata.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name=Date/Time Tools
33
qgisMinimumVersion=3.14
44
description=Conversion tools to display the local date, time, time zone, convert between UNIX time (Epoch), Julian dates, ISO8601, calculate the difference between two dates, select a location and time zone by clicking on the map and display the closet location and sun statistics. It includes an additional time zone and/or offset capture tool, processing tools to add sun parameters, or time zone and offset to a point layer attribute table.
5-
version=3.0.4
5+
version=3.0.5
66
author=C Hamilton
77
88
about=This is a set of four tools. 1)Conversion tools to display the local date, time, time zone, convert between UNIX time (Epoch), Julian dates, ISO8601, calculate the difference between two dates, select a location and time zone by clicking on the map and display the closet location and sun statistics. 2) A time zone and/or offset capture tool. 3) A processing tool that adds a time zone field and/or offset to a point layer. 4) a processing tool to add the sun times of dawn, sunrise, noon, sunset, and dusk to a point layer attribute table.
@@ -15,6 +15,7 @@ icon=icon.png
1515
experimental=False
1616
deprecated=False
1717
changelog=
18+
3.0.5 - Bug fix with Help menu
1819
3.0.4 - Added 3 more tools
1920
3.0.3 - Use SVG icons
2021
3.0.2 - Bug fix

0 commit comments

Comments
 (0)