base: config GUI now .Activate()
s immediately
This commit is contained in:
parent
55a031686c
commit
3cbca1e542
2 changed files with 9 additions and 2 deletions
|
@ -4,6 +4,11 @@
|
|||
|
||||
* The Configuration GUI now has an “Apply” button.
|
||||
|
||||
### Fixed
|
||||
|
||||
* Configuration GUI now `.Activate()`s immediately to prevent it from hiding
|
||||
behind other windows.
|
||||
|
||||
## EliteAttack 8.4
|
||||
|
||||
### Added
|
||||
|
|
|
@ -190,14 +190,16 @@ namespace alterNERDtive
|
|||
{
|
||||
Thread dialogThread = new Thread(new ThreadStart(() =>
|
||||
{
|
||||
_ = new System.Windows.Window
|
||||
System.Windows.Window options = new ()
|
||||
{
|
||||
Title = "alterNERDtive Profile Options",
|
||||
Content = new SettingsDialog(Config, Log),
|
||||
SizeToContent = System.Windows.SizeToContent.WidthAndHeight,
|
||||
ResizeMode = System.Windows.ResizeMode.NoResize,
|
||||
WindowStyle = System.Windows.WindowStyle.ToolWindow,
|
||||
}.ShowDialog();
|
||||
};
|
||||
options.ShowDialog();
|
||||
options.Activate();
|
||||
}));
|
||||
dialogThread.SetApartmentState(ApartmentState.STA);
|
||||
dialogThread.IsBackground = true;
|
||||
|
|
Loading…
Reference in a new issue