mirror of
https://github.com/fadden/6502bench.git
synced 2025-02-08 20:30:47 +00:00
Set owner of status flags edit window
The XAML code specified it to be placed centered on the owner's window, but we weren't actually setting the owner.
This commit is contained in:
parent
011181d848
commit
5fb1fb3240
@ -38,6 +38,8 @@ namespace SourceGen.WpfGui {
|
|||||||
|
|
||||||
public EditStatusFlags(Window owner, StatusFlags flagValue, bool hasEmuFlag) {
|
public EditStatusFlags(Window owner, StatusFlags flagValue, bool hasEmuFlag) {
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
Owner = owner;
|
||||||
|
DataContext = this;
|
||||||
|
|
||||||
FlagValue = flagValue;
|
FlagValue = flagValue;
|
||||||
mHasEmuFlag = hasEmuFlag;
|
mHasEmuFlag = hasEmuFlag;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user