mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-18 22:31:16 -05:00
Add settings tab to pkmdb/encdb
Quicker toggling compared to main window settings changing same object
This commit is contained in:
parent
b068027ba8
commit
be9767f3e6
|
|
@ -103,6 +103,10 @@ public SAV_Database(PKMEditor f1, SAVEditor saveditor)
|
|||
L_Viewed.Text = string.Empty; // invisible for now
|
||||
PopulateComboBoxes();
|
||||
|
||||
var settings = new TabPage { Text = "Settings" };
|
||||
settings.Controls.Add(new PropertyGrid { Dock = DockStyle.Fill, SelectedObject = Main.Settings.EntityDb });
|
||||
TC_SearchSettings.Controls.Add(settings);
|
||||
|
||||
// Load Data
|
||||
B_Search.Enabled = false;
|
||||
L_Count.Text = "Loading...";
|
||||
|
|
|
|||
|
|
@ -94,6 +94,10 @@ public SAV_Encounters(PKMEditor f1, TrainerDatabase db)
|
|||
WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
|
||||
GetTypeFilters();
|
||||
|
||||
var settings = new TabPage { Text = "Settings" };
|
||||
settings.Controls.Add(new PropertyGrid { Dock = DockStyle.Fill, SelectedObject = Main.Settings.EncounterDb });
|
||||
TC_SearchOptions.Controls.Add(settings);
|
||||
|
||||
// Load Data
|
||||
L_Count.Text = "Ready...";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user