mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2025-03-29 21:01:34 +01:00
fixed the back button for the workspace browser
This commit is contained in:
parent
086ff46c1b
commit
8dc6a96bde
1 changed files with 2 additions and 3 deletions
|
@ -107,8 +107,7 @@ class QPServerBrowser():
|
||||||
if index == 1:
|
if index == 1:
|
||||||
def create_workspace(name):
|
def create_workspace(name):
|
||||||
self.window.run_command(
|
self.window.run_command(
|
||||||
"codemp_create_workspace",
|
"codemp_create_workspace", {"workspace_id": name})
|
||||||
{"workspace_id": name})
|
|
||||||
self.window.show_input_panel("New Workspace Name", "", create_workspace, None, self.edit_server)
|
self.window.show_input_panel("New Workspace Name", "", create_workspace, None, self.edit_server)
|
||||||
|
|
||||||
if index == 2:
|
if index == 2:
|
||||||
|
@ -183,7 +182,7 @@ class QPWorkspaceBrowser():
|
||||||
|
|
||||||
def edit_workspace_actions(self, index):
|
def edit_workspace_actions(self, index):
|
||||||
if index == -1 or index == 0:
|
if index == -1 or index == 0:
|
||||||
self.edit_workspace()
|
self.run()
|
||||||
elif index == 1:
|
elif index == 1:
|
||||||
self.window.run_command(
|
self.window.run_command(
|
||||||
"codemp_leave_workspace",
|
"codemp_leave_workspace",
|
||||||
|
|
Loading…
Add table
Reference in a new issue