mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 13:50:28 -04:00
Remove the menu bar, and replace it with a settings button owned by the OnionShareGui object
This commit is contained in:
parent
b7a9574490
commit
cc4ac170c7
4 changed files with 24 additions and 62 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue