Skip to content

Commit

Permalink
docs: update file-directory-selector.rst (#2007)
Browse files Browse the repository at this point in the history
Remove duplicated window.
  • Loading branch information
MGBergweiler authored Jan 9, 2023
1 parent 523526e commit 334a216
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/source/documentation/file-directory-selector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,8 @@ You can select multiple files by setting the *file_count* keyword
with dpg.window(label="Tutorial", width=800, height=300):
dpg.add_button(label="File Selector", callback=lambda: dpg.show_item("file_dialog_tag"))
with dpg.window(label="Tutorial", width=800, height=300):
dpg.add_button(label="File Selector", callback=lambda: dpg.show_item("file_dialog_tag"))
dpg.create_viewport(title='Custom Title', width=800, height=600)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
dpg.destroy_context()

0 comments on commit 334a216

Please sign in to comment.