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 b7a9574490
commit cc4ac170c7
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()