summaryrefslogtreecommitdiff
path: root/src/backends/dialog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/dialog.rs')
-rw-r--r--src/backends/dialog.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backends/dialog.rs b/src/backends/dialog.rs
index 6f078e6..e681caf 100644
--- a/src/backends/dialog.rs
+++ b/src/backends/dialog.rs
@@ -49,6 +49,10 @@ impl Dialog {
self.width = width.to_string();
}
+ pub(crate) fn is_available() -> bool {
+ super::is_available("dialog")
+ }
+
fn execute(
&self,
args: Vec<&str>,