From 8dc6a96bde8172268af24ac15acc8bed0fa2fafe Mon Sep 17 00:00:00 2001
From: cschen <camillo.schenone@gmail.com>
Date: Mon, 17 Feb 2025 23:34:50 +0100
Subject: [PATCH] fixed the back button for the workspace browser

---
 plugin/quickpanel/qpbrowser.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/plugin/quickpanel/qpbrowser.py b/plugin/quickpanel/qpbrowser.py
index 4674c21..8abeed5 100644
--- a/plugin/quickpanel/qpbrowser.py
+++ b/plugin/quickpanel/qpbrowser.py
@@ -107,8 +107,7 @@ class QPServerBrowser():
         if index == 1:
             def create_workspace(name):
                 self.window.run_command(
-                    "codemp_create_workspace",
-                    {"workspace_id": name})
+                    "codemp_create_workspace", {"workspace_id": name})
             self.window.show_input_panel("New Workspace Name", "", create_workspace, None, self.edit_server)
 
         if index == 2:
@@ -183,7 +182,7 @@ class QPWorkspaceBrowser():
 
     def edit_workspace_actions(self, index):
         if index == -1 or index == 0:
-            self.edit_workspace()
+            self.run()
         elif index == 1:
             self.window.run_command(
                 "codemp_leave_workspace",