Skip to content

Commit

Permalink
Regognize renamed tabs during decompilation
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed Jul 25, 2024
1 parent 820f5c5 commit fb3acd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions frontend/src/components/ProcessPane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@
this.selectedTab = new_name;
}
if (tab.oldName === undefined)
{
tab.oldName = tab.name;
}
tab.name = new_name;
this.editTab = null;
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/stores/processStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const processStore = defineStore(
{
for (const tab of this.tabs)
{
if (tab.name == name)
if (tab.name === name || tab.oldName === name)
{
return true;
}
Expand Down

0 comments on commit fb3acd7

Please sign in to comment.