mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Set filename as window title
This commit is contained in:
parent
775c34fecf
commit
264d06aa7b
@ -135,6 +135,7 @@ class OMVGtk:
|
||||
self.buffer.set_text(file.read())
|
||||
self.file_path=dialog.get_filename()
|
||||
self.save_button.set_sensitive(False)
|
||||
self.window.set_title(os.path.basename(self.file_path))
|
||||
|
||||
dialog.destroy()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user