Skip to content

Commit

Permalink
Refactor file association to use data provider and not data factory #…
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Sep 15, 2023
1 parent 0f1f5d7 commit 63e5de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Analogy/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ private async Task OpenOfflineFileWithSpecificDataProvider(string[] files)
RibbonPage? page = null;
if (fc.Any())
{
Settings.LastOpenedDataProvider = fc.First().Factory.FactoryId;
page = Mapping.TryGetValue(fc.First().Factory.FactoryId, out RibbonPage? value)
? value
: null;
Expand Down

0 comments on commit 63e5de7

Please sign in to comment.