Преглед на файлове

fix profile-name value when saving teh page with "Save page with profile" (fix #600)

Gildas преди 5 години
родител
ревизия
5ea25ece90
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      extension/ui/bg/ui-menus.js

+ 1 - 0
extension/ui/bg/ui-menus.js

@@ -461,6 +461,7 @@ singlefile.extension.ui.bg.menus = (() => {
 						const profileIndex = Number(profileId);
 						profileName = Object.keys(profiles)[profileIndex];
 					}
+					profiles[profileName].profileName = profileName;
 					business.saveTabs([tab], profiles[profileName]);
 				}
 				if (event.menuItemId.startsWith(MENU_ID_SELECT_PROFILE_PREFIX)) {