v1.5.1 - 2021-02-04

This commit is contained in:
flash 2022-08-26 02:00:13 +02:00
parent 5a51414469
commit 103d3d4bff
2 changed files with 39 additions and 35 deletions

View file

@ -237,8 +237,10 @@ namespace TopMostFriend {
} }
private static void RefreshWindowList() { private static void RefreshWindowList() {
IEnumerable<WindowInfo> windows = WindowInfo.GetAllWindows();
List<ToolStripItem> items = new List<ToolStripItem>(); List<ToolStripItem> items = new List<ToolStripItem>();
if(Settings.Get(SHOW_WINDOW_LIST, true)) {
IEnumerable<WindowInfo> windows = WindowInfo.GetAllWindows();
Process lastProc = null; Process lastProc = null;
bool procSeparator = Settings.Get(PROCESS_SEPARATOR_SETTING, false); bool procSeparator = Settings.Get(PROCESS_SEPARATOR_SETTING, false);
bool showEmptyTitles = Settings.Get(SHOW_EMPTY_WINDOW_SETTING, false); bool showEmptyTitles = Settings.Get(SHOW_EMPTY_WINDOW_SETTING, false);
@ -277,6 +279,8 @@ namespace TopMostFriend {
} }
items.AddRange(ListActionItems); items.AddRange(ListActionItems);
}
items.AddRange(AppActionItems); items.AddRange(AppActionItems);
CtxMenu.Items.Clear(); CtxMenu.Items.Clear();

View file

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("1.5.0.0")] [assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.0.0")] [assembly: AssemblyFileVersion("1.5.1.0")]