mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
small rename
This commit is contained in:
parent
94538d1728
commit
c699c02425
1 changed files with 5 additions and 5 deletions
|
|
@ -97,7 +97,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
private bool hasDevPlugins = false;
|
||||
|
||||
private string searchText = string.Empty;
|
||||
private bool prefilledSearchTexted = false;
|
||||
private bool isSearchTextPrefilled = false;
|
||||
|
||||
private PluginSortKind sortKind = PluginSortKind.Alphabetical;
|
||||
private string filterText = Locs.SortBy_Alphabetical;
|
||||
|
|
@ -203,7 +203,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
|
||||
_ = pluginManager.ReloadPluginMastersAsync();
|
||||
|
||||
if (!this.prefilledSearchTexted) this.searchText = string.Empty;
|
||||
if (!this.isSearchTextPrefilled) this.searchText = string.Empty;
|
||||
this.sortKind = PluginSortKind.Alphabetical;
|
||||
this.filterText = Locs.SortBy_Alphabetical;
|
||||
|
||||
|
|
@ -220,9 +220,9 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
{
|
||||
Service<DalamudConfiguration>.Get().QueueSave();
|
||||
|
||||
if (this.prefilledSearchTexted)
|
||||
if (this.isSearchTextPrefilled)
|
||||
{
|
||||
this.prefilledSearchTexted = false;
|
||||
this.isSearchTextPrefilled = false;
|
||||
this.searchText = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -281,7 +281,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
/// <param name="text">The search term.</param>
|
||||
public void SetSearchText(string text)
|
||||
{
|
||||
this.prefilledSearchTexted = true;
|
||||
this.isSearchTextPrefilled = true;
|
||||
this.searchText = text;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue