Remove the menu bar, and replace it with a settings button owned by the OnionShareGui object

This commit is contained in:
Micah Lee 2017-05-16 15:24:14 -07:00
parent 22fb34d50d
commit 3e3d669a49
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
4 changed files with 24 additions and 62 deletions

View file

@ -256,3 +256,9 @@ class FileSelection(QtWidgets.QVBoxLayout):
Returns the total number of files and folders in the list.
"""
return len(self.file_list.filenames)
def setFocus(self):
"""
Set the Qt app focus on the file selection box.
"""
self.file_list.setFocus()