forked from Wobbl/Bread_Editor
Added popup window title.
This commit is contained in:
parent
21e54af6c9
commit
b4792df599
1 changed files with 1 additions and 0 deletions
1
file.py
1
file.py
|
@ -13,6 +13,7 @@ class FileActions:
|
||||||
|
|
||||||
def open_files(self):
|
def open_files(self):
|
||||||
dialog = QFileDialog(self.app.gui.QTMainWindow)
|
dialog = QFileDialog(self.app.gui.QTMainWindow)
|
||||||
|
dialog.setWindowTitle("Open File")
|
||||||
dialog.setDirectory(self.app.utils.home_path)
|
dialog.setDirectory(self.app.utils.home_path)
|
||||||
dialog.setFileMode(QFileDialog.FileMode.ExistingFiles)
|
dialog.setFileMode(QFileDialog.FileMode.ExistingFiles)
|
||||||
dialog.setNameFilters(["Binary (*.bin)", "Any (*)"])
|
dialog.setNameFilters(["Binary (*.bin)", "Any (*)"])
|
||||||
|
|
Loading…
Add table
Reference in a new issue