mirror of
https://github.com/markqvist/NomadNet.git
synced 2024-10-01 01:26:07 -04:00
Check browser destination before displaying save dialog. Fixes #35.
This commit is contained in:
parent
e695cce3ba
commit
6026f42f34
@ -664,6 +664,8 @@ class Browser:
|
|||||||
self.delegate.columns.focus_position = 1
|
self.delegate.columns.focus_position = 1
|
||||||
|
|
||||||
def save_node_dialog(self):
|
def save_node_dialog(self):
|
||||||
|
if self.destination_hash != None:
|
||||||
|
try:
|
||||||
def dismiss_dialog(sender):
|
def dismiss_dialog(sender):
|
||||||
self.close_dialogs()
|
self.close_dialogs()
|
||||||
|
|
||||||
@ -710,6 +712,8 @@ class Browser:
|
|||||||
self.delegate.columns.contents[1] = (overlay, options)
|
self.delegate.columns.contents[1] = (overlay, options)
|
||||||
self.delegate.columns.focus_position = 1
|
self.delegate.columns.focus_position = 1
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
pass
|
||||||
|
|
||||||
def load_page(self):
|
def load_page(self):
|
||||||
if self.request_data == None:
|
if self.request_data == None:
|
||||||
|
Loading…
Reference in New Issue
Block a user