mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
Remove top level view model change.
This commit is contained in:
@@ -275,14 +275,11 @@ public sealed partial class TopLevelViewModel : ObservableObject, IListItem
|
||||
if (model is IFallbackCommandItem fallback)
|
||||
{
|
||||
var wasEmpty = string.IsNullOrEmpty(Title);
|
||||
var oldTitle = Title;
|
||||
|
||||
// RPC for method
|
||||
fallback.FallbackHandler.UpdateQuery(newQuery);
|
||||
var isEmpty = string.IsNullOrEmpty(Title);
|
||||
var newTitle = Title;
|
||||
|
||||
return wasEmpty != isEmpty || oldTitle != newTitle;
|
||||
return wasEmpty != isEmpty;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user