print: allow directory deletion
This commit is contained in:
@@ -761,6 +761,8 @@ class KlipperScreen(Gtk.Window):
|
||||
self.gtk.remove_dialog(dialog)
|
||||
if response_id == Gtk.ResponseType.OK:
|
||||
self._send_action(None, method, params)
|
||||
if method == "server.files.delete_directory":
|
||||
GLib.timeout_add_seconds(2, self.files.refresh_files)
|
||||
|
||||
def _send_action(self, widget, method, params):
|
||||
logging.info(f"{method}: {params}")
|
||||
|
Reference in New Issue
Block a user