mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
moves the changelog from on-startup to the extensions menu
contributes to #CURA-243
This commit is contained in:
parent
07c9ecc931
commit
883cb08e54
2 changed files with 4 additions and 3 deletions
|
@ -31,6 +31,7 @@ class ChangeLog(Extension, QObject,):
|
|||
self._change_logs = None
|
||||
Application.getInstance().engineCreatedSignal.connect(self._onEngineCreated)
|
||||
Preferences.getInstance().addPreference("general/latest_version_changelog_shown", "15.05.90") #First version of CURA with uranium
|
||||
self.addMenuItem(catalog.i18nc("@item:inmenu", "Show Changelog"), self.showChangelog)
|
||||
#self.showChangelog()
|
||||
|
||||
def getChangeLogs(self):
|
||||
|
@ -77,8 +78,8 @@ class ChangeLog(Extension, QObject,):
|
|||
def _onEngineCreated(self):
|
||||
if not self._version:
|
||||
return #We're on dev branch.
|
||||
if self._version > Preferences.getInstance().getValue("general/latest_version_changelog_shown"):
|
||||
self.showChangelog()
|
||||
#if self._version > Preferences.getInstance().getValue("general/latest_version_changelog_shown"):
|
||||
#self.showChangelog()
|
||||
|
||||
def showChangelog(self):
|
||||
if not self._changelog_window:
|
||||
|
|
|
@ -9,7 +9,7 @@ catalog = i18nCatalog("cura")
|
|||
def getMetaData():
|
||||
return {
|
||||
"plugin": {
|
||||
"name": catalog.i18nc("@label", "Change Log"),
|
||||
"name": catalog.i18nc("@label", "Changelog"),
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": catalog.i18nc("@info:whatsthis", "Shows changes since latest checked version"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue