Skip to content

Commit 95f85a7

Browse files
committed
Remove dialog_type method of builder
1 parent 114dd75 commit 95f85a7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ impl<'a> DialogBuilder<'a> {
7171
self
7272
}
7373

74-
pub fn dialog_type(&'a mut self, dialog_type: DialogType) -> &mut DialogBuilder {
75-
self.dialog_type = dialog_type;
76-
self
77-
}
78-
7974
pub fn open(&self) -> Result<Response> {
8075
open_dialog(self.filter, self.default_path, self.dialog_type.clone())
8176
}

0 commit comments

Comments
 (0)