Skip to content

Commit

Permalink
fix bad enum values for QFileDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
sobjornstad committed Dec 7, 2023
1 parent 0736c8f commit 46e4156
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.4
current_version = 1.3.5

[bumpversion:file:tw-plugin/plugin.info]

Expand Down
4 changes: 2 additions & 2 deletions anki-plugin/src/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ def browse_for_wiki(self):
caption="Browse for wiki",
filter="HTML files (*.html);;All files (*)")
if self.form.type_.currentText().lower() == 'folder':
mode = QFileDialog.Directory
mode = QFileDialog.FileMode.Directory
else:
mode = QFileDialog.ExistingFile
mode = QFileDialog.FileMode.ExistingFile
dlg.setFileMode(mode)

retval = dlg.exec()
Expand Down
2 changes: 1 addition & 1 deletion anki-plugin/src/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Twid = NewType('Twid', str)

DEFAULT_FILTER = '[type[text/vnd.tiddlywiki]] [type[]] +[!is[system]]'
PLUGIN_VERSION = "1.3.4"
PLUGIN_VERSION = "1.3.5"
COMPATIBLE_TW_VERSIONS = [
"", "1.2.2", "1.2.3", "1.3.0", "1.3.1", "1.3.2", "1.3.3", "1.3.4"
]
Expand Down
3 changes: 2 additions & 1 deletion ankiweb-description.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TiddlyRemember is a tool that integrates <a href="https://tiddlywiki.com" rel="nofollow">TiddlyWiki</a> with Anki. You can interleave questions with your notes in TiddlyWiki, then sync them into Anki notes with one click. You can edit and move the questions around your TiddlyWiki, and they will stay connected to the Anki notes. Scheduling information in Anki is preserved when editing notes in TiddlyWiki.

This is TiddlyRemember version 1.3.4, released August 19, 2022.
This is TiddlyRemember version 1.3.5, released December 6, 2023.

<ul><li><b>Documentation</b>: <a href="https://sobjornstad.github.io/TiddlyRemember/" rel="nofollow">https://sobjornstad.github.io/TiddlyRemember/</a></li>
<li><b>Bug reports and feature requests</b>: <a href="https://github.com/sobjornstad/TiddlyRemember/issues" rel="nofollow">https://github.com/sobjornstad/TiddlyRemember/issues</a>, or email [email protected].</li></ul>
Expand All @@ -11,6 +11,7 @@

<b>Changelog:</b>

<ul><li><b>1.3.5</b>: Fix the “Browse” button in the settings not working in Qt 6 versions of Anki.</li>
<ul><li><b>1.3.4</b>: Fix several minor bugs. Folder wikis can now use relative paths to media.</li>
<li><b>1.3.3</b>: Add support for Qt 6 and Anki 2.1.50 (in beta at the time of this release).</li>
<li><b>1.3.2</b>: Fixed several bugs in error handling which prevented the root cause of an issue from being accurately reported.</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/tiddlers/TiddlyRemember Metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.4",
"version": "1.3.5",
"compatible-tw5": ">= 5.1.21",
"compatible-anki": ">= 2.1.45",
"repository": "https://github.com/sobjornstad/TiddlyRemember",
Expand Down
2 changes: 1 addition & 1 deletion docs/tiddlers/TiddlyRemember.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20200523154559237
list: [[Installing TiddlyRemember]] [[Configuring TiddlyRemember]] [[Creating notes in TiddlyRemember]] [[Syncing TiddlyRemember with Anki]] [[Video Introduction]] Troubleshooting
modified: 20220820004404130
modified: 20231207042052071
title: TiddlyRemember
type: text/vnd.tiddlywiki

Expand Down
2 changes: 1 addition & 1 deletion tw-plugin/plugin.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "$:/plugins/sobjornstad/TiddlyRemember",
"description": "TiddlyRemember: Embed Anki notes in your TiddlyWiki",
"author": "Soren Bjornstad",
"version": "1.3.4",
"version": "1.3.5",
"core-version": ">=5.1.21",
"source": "https://github.com/sobjornstad/TiddlyRemember",
"list": "readme license",
Expand Down
2 changes: 1 addition & 1 deletion tw-plugin/templates/TiddlyRememberParseable.tid
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki

<$set name="tr-rendering" value="yes">

<span id="tr-version">1.3.4</span>
<span id="tr-version">1.3.5</span>

{{||$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiDecks}}
{{||$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiTags}}
Expand Down

0 comments on commit 46e4156

Please sign in to comment.