mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-16 10:22:34 +12:00
[BUG] Search bar in sub directory for empty directories (#443), version 1.3.1.1
This commit is contained in:
parent
fbbd0f1f54
commit
729afdf67f
|
@ -1052,10 +1052,9 @@ namespace SystemTrayMenu.Business
|
|||
private void ShowSubMenu(Menu menuToShow)
|
||||
{
|
||||
HideOldMenu(menuToShow, true);
|
||||
|
||||
menus[menuToShow.Level] = menuToShow;
|
||||
AdjustMenusSizeAndLocation();
|
||||
menus[menuToShow.Level].ShowWithFadeOrTransparent(IsActive());
|
||||
menus[menuToShow.Level]?.ShowWithFadeOrTransparent(IsActive());
|
||||
}
|
||||
|
||||
private void HideOldMenu(Menu menuToShow, bool keepOrSetIsMenuOpen = false)
|
||||
|
|
|
@ -73,7 +73,7 @@ namespace SystemTrayMenu.Helper.Updater
|
|||
for (int i = 0; i < releasesCount; i++)
|
||||
{
|
||||
string tagName = releases[i]["tag_name"].ToString();
|
||||
Version versionGitHub = new Version(tagName.Replace("v", string.Empty));
|
||||
Version versionGitHub = new(tagName.Replace("v", string.Empty));
|
||||
if (versionGitHub.CompareTo(versionCurrent) < 1)
|
||||
{
|
||||
releases.RemoveRange(i, releasesCount - i);
|
||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.3.1.0")]
|
||||
[assembly: AssemblyFileVersion("1.3.1.0")]
|
||||
[assembly: AssemblyVersion("1.3.1.1")]
|
||||
[assembly: AssemblyFileVersion("1.3.1.1")]
|
||||
|
|
|
@ -275,7 +275,7 @@ Thanks for ideas, reporting issues and contributing!
|
|||
#285 #286 [dao-net](https://github.com/dao-net),
|
||||
#288 William P.,
|
||||
#294 #295 #296 Stefan Mahrer,
|
||||
#225 #297 #299 #317 #321 #324 #330 #386 #390 #401 #402 #407 #409 #414 #416 #418 #428 #430 [chip33](https://github.com/chip33),
|
||||
#225 #297 #299 #317 #321 #324 #330 #386 #390 #401 #402 #407 #409 #414 #416 #418 #428 #430 #443 [chip33](https://github.com/chip33),
|
||||
#298 [phanirithvij](https://github.com/phanirithvij),
|
||||
#306 [wini2](https://github.com/wini2),
|
||||
#370 [dna5589](https://github.com/dna5589),
|
||||
|
@ -285,7 +285,7 @@ Thanks for ideas, reporting issues and contributing!
|
|||
#380 #394 [TransLucida](https://github.com/TransLucida),
|
||||
#384 #434 #435 [boydfields](https://github.com/boydfields),
|
||||
#386 [visusys](https://github.com/visusys),
|
||||
#387 #411 [yrctw](https://github.com/yrctw)
|
||||
#387 #411 #444 [yrctw](https://github.com/yrctw)
|
||||
|
||||
Donations
|
||||
------------------
|
||||
|
|
|
@ -89,9 +89,9 @@ namespace SystemTrayMenu.Helper
|
|||
aboutBox.AppMoreInfo += "#235 #242 243 #247, #271 Tom, #237 Torsten S., #240 video Patrick, #244 Gunter D., #246 #329 MACE4GITHUB, #259 #310 vanjac, ";
|
||||
aboutBox.AppMoreInfo += "#262 terencemcdonnell, #269 petersnows25, #272 Peter M., #273 #274 ParasiteDelta, #275 #276 #278 donaldaken, ";
|
||||
aboutBox.AppMoreInfo += "#277 Jan S., #282 akuznets, #283 #284 #289 RuSieg, #285 #286 dao-net, #288 William P., #294 #295 #296 Stefan Mahrer, ";
|
||||
aboutBox.AppMoreInfo += "#225 #297 #299 #317 #321 #324 #330 #386 #390 #401 #402 #407 #409 #414 #416 #418 #428 #430 chip33, ";
|
||||
aboutBox.AppMoreInfo += "#225 #297 #299 #317 #321 #324 #330 #386 #390 #401 #402 #407 #409 #414 #416 #418 #428 #430 #443 chip33, ";
|
||||
aboutBox.AppMoreInfo += "#298 phanirithvij, #306 wini2, #370 dna5589, #372 not-nef, #376 Michelle H., ";
|
||||
aboutBox.AppMoreInfo += "#377 SoenkeHob, #380 #394 TransLucida, #384 #434 #435 boydfields, #386 visusys, #387 #411 yrctw" + Environment.NewLine;
|
||||
aboutBox.AppMoreInfo += "#377 SoenkeHob, #380 #394 TransLucida, #384 #434 #435 boydfields, #386 visusys, #387 #411 #444 yrctw" + Environment.NewLine;
|
||||
aboutBox.AppMoreInfo += @"
|
||||
Sponsors - Thank you!
|
||||
------------------
|
||||
|
|
|
@ -309,23 +309,14 @@ namespace SystemTrayMenu.UserInterface
|
|||
pictureBoxMenuAlwaysOpen.Visible = false;
|
||||
break;
|
||||
case MenuType.Empty:
|
||||
pictureBoxSearch.Visible = true;
|
||||
textBoxSearch.Visible = true;
|
||||
tableLayoutPanelSearch.Visible = true;
|
||||
labelItems.Text = Translator.GetText("Directory empty");
|
||||
pictureBoxMenuAlwaysOpen.Visible = false;
|
||||
break;
|
||||
case MenuType.NoAccess:
|
||||
pictureBoxSearch.Visible = true;
|
||||
textBoxSearch.Visible = true;
|
||||
tableLayoutPanelSearch.Visible = true;
|
||||
labelItems.Text = Translator.GetText("Directory inaccessible");
|
||||
pictureBoxMenuAlwaysOpen.Visible = false;
|
||||
break;
|
||||
case MenuType.Loading:
|
||||
pictureBoxSearch.Visible = true;
|
||||
textBoxSearch.Visible = true;
|
||||
tableLayoutPanelSearch.Visible = true;
|
||||
labelItems.Text = Translator.GetText("loading");
|
||||
pictureBoxMenuAlwaysOpen.Visible = true;
|
||||
textBoxSearch.TextChanged -= TextBoxSearch_TextChanged;
|
||||
|
|
Loading…
Reference in a new issue