Fix typo and log extra case
This commit is contained in:
parent
ad73f87cc5
commit
607a7b4bd6
@ -78,10 +78,11 @@ class DropShip:
|
||||
|
||||
def on_drop(self, widget, drag_context, x, y, data, info, time):
|
||||
files = data.get_text().split()
|
||||
if len(files) == 1:
|
||||
# TODO: wormhole send that file
|
||||
self.dropLabel.set_text("Sending..")
|
||||
self.files_to_send = files
|
||||
if len(files) == 1:
|
||||
self.drop_label.set_text("Sending..")
|
||||
else:
|
||||
log.info("Multiple file sending coming soon ™")
|
||||
|
||||
def on_quit(self, *args, **kwargs):
|
||||
self.window.close()
|
||||
|
Loading…
Reference in New Issue
Block a user