Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
ee1b9520
Commit
ee1b9520
authored
8 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug
#607
parent
ed05b852
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sakia/gui/navigation/controller.py
+4
-4
4 additions, 4 deletions
src/sakia/gui/navigation/controller.py
with
4 additions
and
4 deletions
src/sakia/gui/navigation/controller.py
+
4
−
4
View file @
ee1b9520
...
...
@@ -6,7 +6,7 @@ from sakia.data.entities import Connection
from
sakia.decorators
import
asyncify
from
sakia.gui.sub.password_input
import
PasswordInputController
from
sakia.gui.widgets
import
toast
from
sakia.gui.widgets.dialogs
import
QAsyncMessageBox
from
sakia.gui.widgets.dialogs
import
QAsyncMessageBox
,
dialog_async_exec
,
QAsyncFileDialog
from
sakia.models.generic_tree
import
GenericTreeModel
from
.graphs.wot.controller
import
WotController
from
.homescreen.controller
import
HomeScreenController
...
...
@@ -211,7 +211,7 @@ neither your identity from the network."""), QMessageBox.Ok | QMessageBox.Cancel
raw_document
=
self
.
model
.
generate_revokation
(
connection
,
secret_key
,
password
)
# Testable way of using a QFileDialog
selected_files
=
Q
FileDialog
.
get
S
ave
F
ile
N
ame
(
self
.
view
,
self
.
tr
(
"
Save a revokation document
"
),
selected_files
=
await
QAsync
FileDialog
.
get
_s
ave
_f
ile
n
ame
(
self
.
view
,
self
.
tr
(
"
Save a revokation document
"
),
""
,
self
.
tr
(
"
All text files (*.txt)
"
))
if
selected_files
:
path
=
selected_files
[
0
]
...
...
@@ -225,4 +225,4 @@ neither your identity from the network."""), QMessageBox.Ok | QMessageBox.Cancel
<div><b>Please keep it in a safe place.</b></div>
The publication of this document will remove your identity from the network.</p>
"""
),
QMessageBox
.
Ok
)
dialog
.
setTextFormat
(
Qt
.
RichText
)
dialog
.
exec
(
)
await
dialog_async_exec
(
dialog
)
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