mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Enable (re)storing a VirtualTree layout on different forms without naming conflicts in registry. Plus: use that in the new table editor.
This commit is contained in:
@ -182,6 +182,8 @@ begin
|
||||
InheritFont(Font);
|
||||
FixVT(listColumns);
|
||||
FixVT(treeIndexes);
|
||||
Mainform.RestoreListSetup(listColumns);
|
||||
Mainform.RestoreListSetup(treeIndexes);
|
||||
FLoaded := False;
|
||||
comboRowFormat.Items.CommaText := 'DEFAULT,DYNAMIC,FIXED,COMPRESSED,REDUNDANT,COMPACT';
|
||||
comboInsertMethod.Items.CommaText := 'NO,FIRST,LAST';
|
||||
@ -204,6 +206,8 @@ begin
|
||||
MainReg.WriteInteger(REGNAME_TABLEEDITOR_WIDTH, Width);
|
||||
MainReg.WriteInteger(REGNAME_TABLEEDITOR_HEIGHT, Height);
|
||||
MainReg.WriteInteger(REGNAME_TABLEEDITOR_TABSHEIGHT, PageControlMain.Height);
|
||||
Mainform.SaveListSetup(listColumns);
|
||||
Mainform.SaveListSetup(treeIndexes);
|
||||
end;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user