diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-13 02:16:32 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-13 02:16:32 +0200 |
| commit | 417462adb19c4489999087d8bb96e91ffeae3e65 (patch) | |
| tree | b21601f66046ea7b91f42228b320667c4538efa8 /Software/Visual_Studio/PPC | |
| parent | cc2b95c9144d8a3486314766b645021a9a914d25 (diff) | |
| download | Tango-417462adb19c4489999087d8bb96e91ffeae3e65.tar.gz Tango-417462adb19c4489999087d8bb96e91ffeae3e65.zip | |
Quick fix.
Diffstat (limited to 'Software/Visual_Studio/PPC')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs index 0215e2456..c0ef85bcc 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/PowerUpViewVM.cs @@ -97,8 +97,6 @@ namespace Tango.PPC.UI.Dialogs if (RemainingSeconds == 0) { - _timer.Stop(); - InvokeUI(() => { Accept(); @@ -108,9 +106,16 @@ namespace Tango.PPC.UI.Dialogs protected override void Cancel() { + _timer.Stop(); base.Cancel(); } + protected override void Accept() + { + _timer.Stop(); + base.Accept(); + } + public override void OnShow() { base.OnShow(); |
