Skip to content

Commit 46e4156

Browse files
committed
fix bad enum values for QFileDialog
1 parent 0736c8f commit 46e4156

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.3.4
2+
current_version = 1.3.5
33

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

anki-plugin/src/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ def browse_for_wiki(self):
202202
caption="Browse for wiki",
203203
filter="HTML files (*.html);;All files (*)")
204204
if self.form.type_.currentText().lower() == 'folder':
205-
mode = QFileDialog.Directory
205+
mode = QFileDialog.FileMode.Directory
206206
else:
207-
mode = QFileDialog.ExistingFile
207+
mode = QFileDialog.FileMode.ExistingFile
208208
dlg.setFileMode(mode)
209209

210210
retval = dlg.exec()

anki-plugin/src/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Twid = NewType('Twid', str)
1212

1313
DEFAULT_FILTER = '[type[text/vnd.tiddlywiki]] [type[]] +[!is[system]]'
14-
PLUGIN_VERSION = "1.3.4"
14+
PLUGIN_VERSION = "1.3.5"
1515
COMPATIBLE_TW_VERSIONS = [
1616
"", "1.2.2", "1.2.3", "1.3.0", "1.3.1", "1.3.2", "1.3.3", "1.3.4"
1717
]

ankiweb-description.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
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.
22

3-
This is TiddlyRemember version 1.3.4, released August 19, 2022.
3+
This is TiddlyRemember version 1.3.5, released December 6, 2023.
44

55
<ul><li><b>Documentation</b>: <a href="https://sobjornstad.github.io/TiddlyRemember/" rel="nofollow">https://sobjornstad.github.io/TiddlyRemember/</a></li>
66
<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>
@@ -11,6 +11,7 @@
1111

1212
<b>Changelog:</b>
1313

14+
<ul><li><b>1.3.5</b>: Fix the “Browse” button in the settings not working in Qt 6 versions of Anki.</li>
1415
<ul><li><b>1.3.4</b>: Fix several minor bugs. Folder wikis can now use relative paths to media.</li>
1516
<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>
1617
<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>

docs/tiddlers/TiddlyRemember Metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.3.4",
2+
"version": "1.3.5",
33
"compatible-tw5": ">= 5.1.21",
44
"compatible-anki": ">= 2.1.45",
55
"repository": "https://github.com/sobjornstad/TiddlyRemember",

docs/tiddlers/TiddlyRemember.tid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
created: 20200523154559237
22
list: [[Installing TiddlyRemember]] [[Configuring TiddlyRemember]] [[Creating notes in TiddlyRemember]] [[Syncing TiddlyRemember with Anki]] [[Video Introduction]] Troubleshooting
3-
modified: 20220820004404130
3+
modified: 20231207042052071
44
title: TiddlyRemember
55
type: text/vnd.tiddlywiki
66

tw-plugin/plugin.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"title": "$:/plugins/sobjornstad/TiddlyRemember",
33
"description": "TiddlyRemember: Embed Anki notes in your TiddlyWiki",
44
"author": "Soren Bjornstad",
5-
"version": "1.3.4",
5+
"version": "1.3.5",
66
"core-version": ">=5.1.21",
77
"source": "https://github.com/sobjornstad/TiddlyRemember",
88
"list": "readme license",

tw-plugin/templates/TiddlyRememberParseable.tid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki
88

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

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

1313
{{||$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiDecks}}
1414
{{||$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiTags}}

0 commit comments

Comments
 (0)