mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-07-25 08:05:22 -04:00
Check browser destination before displaying save dialog. Fixes #35.
This commit is contained in:
parent
e695cce3ba
commit
6026f42f34
1 changed files with 43 additions and 39 deletions
|
@ -664,6 +664,8 @@ class Browser:
|
|||
self.delegate.columns.focus_position = 1
|
||||
|
||||
def save_node_dialog(self):
|
||||
if self.destination_hash != None:
|
||||
try:
|
||||
def dismiss_dialog(sender):
|
||||
self.close_dialogs()
|
||||
|
||||
|
@ -710,6 +712,8 @@ class Browser:
|
|||
self.delegate.columns.contents[1] = (overlay, options)
|
||||
self.delegate.columns.focus_position = 1
|
||||
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
def load_page(self):
|
||||
if self.request_data == None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue