Actually check the elevation status when disabling tab rearrange (#5542)

Fixes #5564.
This commit is contained in:
Dustin L. Howett (MSFT) 2020-04-27 09:17:19 -07:00 committed by GitHub
parent 37ff3f9f87
commit 8004223500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ namespace winrt::TerminalApp::implementation
// Xaml tries to send a drag visual (to wit: a screenshot) to the drag hosting process,
// but that process is running at a different IL than us.
// For now, we're disabling elevated drag.
isElevated = ::winrt::Windows::UI::Xaml::Application::Current().as<::winrt::TerminalApp::App>().Logic().IsUwp();
isElevated = ::winrt::Windows::UI::Xaml::Application::Current().as<::winrt::TerminalApp::App>().Logic().IsElevated();
}
CATCH_LOG();