Skip to content

Commit 83e644f

Browse files
author
Yair Aichenbaum
committed
Fixed copy path command
1 parent 4ee9f03 commit 83e644f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Files/Interacts/Interaction.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,16 +216,13 @@ public async void PinItem_Click(object sender, RoutedEventArgs e)
216216

217217
public void GetPath_Click(object sender, RoutedEventArgs e)
218218
{
219-
220219
if (App.CurrentInstance.ContentPage != null)
221220
{
222-
(App.CurrentInstance.OperationsControl as Controls.RibbonArea).RibbonViewModel.AlwaysPresentCommands.IsCopyPathCommandEnabled = false;
223221
Clipboard.Clear();
224222
DataPackage data = new DataPackage();
225223
data.SetText(CurrentInstance.ViewModel.Universal.WorkingDirectory);
226224
Clipboard.SetContent(data);
227225
Clipboard.Flush();
228-
(App.CurrentInstance.OperationsControl as Controls.RibbonArea).RibbonViewModel.AlwaysPresentCommands.IsCopyPathCommandEnabled = true;
229226
}
230227
}
231228

0 commit comments

Comments
 (0)