mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
name changes
This commit is contained in:
parent
c808488ee0
commit
e5414d97da
4 changed files with 10 additions and 10 deletions
|
|
@ -496,15 +496,15 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
}
|
||||
}
|
||||
|
||||
private bool _autoTopmostResults = false;
|
||||
private bool _autoTopmostLastOpenedResults = false;
|
||||
public bool AutoTopmostLastOpenedResult
|
||||
{
|
||||
get => _autoTopmostResults;
|
||||
get => _autoTopmostLastOpenedResults;
|
||||
set
|
||||
{
|
||||
if (_autoTopmostResults != value)
|
||||
if (_autoTopmostLastOpenedResults != value)
|
||||
{
|
||||
_autoTopmostResults = value;
|
||||
_autoTopmostLastOpenedResults = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,8 +177,8 @@
|
|||
<system:String x:Key="homeToggleBoxToolTip">This can only be edited if plugin supports Home feature and Home Page is enabled.</system:String>
|
||||
<system:String x:Key="showAtTopmost">Show Search Window at Foremost</system:String>
|
||||
<system:String x:Key="showAtTopmostToolTip">Overrides other programs' 'Always on Top' setting and displays Flow in the foremost position.</system:String>
|
||||
<system:String x:Key="autoTopmostResults">Auto Topmost Results</system:String>
|
||||
<system:String x:Key="autoTopmostResultsToolTip">Automatically mark selected results as topmost in their queries for faster access in future searches.</system:String>
|
||||
<system:String x:Key="autoTopmostLastOpenedResult">Auto Topmost Results</system:String>
|
||||
<system:String x:Key="autoTopmostLastOpenedResultToolTip">Automatically mark selected results as topmost in their queries for faster access in future searches.</system:String>
|
||||
<system:String x:Key="autoRestartAfterChanging">Restart after modifying plugin via Plugin Store</system:String>
|
||||
<system:String x:Key="autoRestartAfterChangingToolTip">Restart Flow Launcher automatically after installing/uninstalling/updating plugin via Plugin Store</system:String>
|
||||
<system:String x:Key="showUnknownSourceWarning">Show unknown source warning</system:String>
|
||||
|
|
|
|||
|
|
@ -98,14 +98,14 @@
|
|||
|
||||
<ui:SettingsCard
|
||||
Margin="0 4 0 0"
|
||||
Description="{DynamicResource autoTopmostResultsToolTip}"
|
||||
Header="{DynamicResource autoTopmostResults}">
|
||||
Description="{DynamicResource autoTopmostLastOpenedResultToolTip}"
|
||||
Header="{DynamicResource autoTopmostLastOpenedResult}">
|
||||
<ui:SettingsCard.HeaderIcon>
|
||||
<ui:FontIcon Glyph="" />
|
||||
</ui:SettingsCard.HeaderIcon>
|
||||
|
||||
<ui:ToggleSwitch
|
||||
IsOn="{Binding Settings.AutoTopmostResults}"
|
||||
IsOn="{Binding Settings.AutoTopmostLastOpenedResult}"
|
||||
OffContent="{DynamicResource disable}"
|
||||
OnContent="{DynamicResource enable}" />
|
||||
</ui:SettingsCard>
|
||||
|
|
|
|||
|
|
@ -538,7 +538,7 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
_history.Add(result);
|
||||
lastHistoryIndex = 1;
|
||||
if (Settings.AutoTopmostResults)
|
||||
if (Settings.AutoTopmostLastOpenedResult)
|
||||
_topMostRecord.AddOrUpdate(result);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue