Display prompt when trying to save a conflicting file

This commit is contained in:
Antonio Scandurra
2021-05-12 11:54:48 +02:00
parent c54a49e5d1
commit 62403343fa
6 changed files with 125 additions and 13 deletions
+2
View File
@@ -163,6 +163,8 @@ impl super::Window for Window {
fn on_close(&mut self, callback: Box<dyn FnOnce()>) {
self.close_handlers.push(callback);
}
fn prompt(&self, _: crate::PromptLevel, _: &str, _: &[&str], _: Box<dyn FnOnce(usize)>) {}
}
pub(crate) fn platform() -> Platform {