mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-01 04:52:51 +00:00
Bug fix
This commit is contained in:
parent
c2ef3a4a8c
commit
12fc3e9566
1 changed files with 2 additions and 2 deletions
|
|
@ -402,9 +402,9 @@ public partial class MainWindow : WindowBase<MainWindowViewModel>
|
|||
public void ShowHideWindow(bool? blShow)
|
||||
{
|
||||
var bl = blShow ??
|
||||
Utils.IsLinux()
|
||||
(Utils.IsLinux()
|
||||
? (!_config.UiItem.ShowInTaskbar ^ (WindowState == WindowState.Minimized))
|
||||
: !_config.UiItem.ShowInTaskbar;
|
||||
: !_config.UiItem.ShowInTaskbar);
|
||||
if (bl)
|
||||
{
|
||||
this.Show();
|
||||
|
|
|
|||
Loading…
Reference in a new issue