Skip to content

Commit

Permalink
修正分をWPF側へ反映
Browse files Browse the repository at this point in the history
  • Loading branch information
r-koubou committed Nov 28, 2023
1 parent b1c0ee3 commit 9140f4f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
using KeySwitchManager.Applications.Standalone.Core.Controllers.Export;
using KeySwitchManager.Applications.Standalone.Core.Controllers.Find;
using KeySwitchManager.Applications.Standalone.Core.Controllers.Import;
using KeySwitchManager.Applications.Standalone.Core.Presenters;
using KeySwitchManager.Applications.WPF.WpfView;

using Microsoft.Win32;
using Microsoft.WindowsAPICodePack.Dialogs;

using RkHelper.Enumeration;
using RkHelper.Text;
using RkHelper.Primitives;

namespace KeySwitchManager.Applications.WPF
{
Expand Down Expand Up @@ -186,8 +187,9 @@ private async void OnDoCreateNewDefinitionButtonClicked( object sender, RoutedEv
}

ICreateControllerFactory factory = new CreateFileControllerFactory();
var presenter = new CreatePresenter( LogTextView );

await ExecuteControllerAsync( () => factory.Create( path, LogTextView ) );
await ExecuteControllerAsync( () => factory.Create( path, presenter ) );
}
#endregion

Expand Down

0 comments on commit 9140f4f

Please sign in to comment.