From c75e834420e666c65b016cf7e2f66c393507e4f9 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sun, 26 Aug 2018 23:56:45 -0400 Subject: Show QuantumNet in menu if it's in debug --- Project Ports/Desktop.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Project Ports/Desktop.cs b/Project Ports/Desktop.cs index 301ce4d..8c3da63 100644 --- a/Project Ports/Desktop.cs +++ b/Project Ports/Desktop.cs @@ -52,14 +52,18 @@ namespace Project_Ports { #if DEBUG MessageBox.Show("You have set the build to \"Debug\" there are some features that is disabled in this build."); + this.quantumNetBrowserToolStripMenuItem.Visible = true; #endif + dclock.Start(); hijackScreen.Hide(); - if(Properties.Settings.Default.hijacked == true) + + if (Properties.Settings.Default.hijacked == true) { #if DEBUG hijackScreen.Hide(); return; #endif + this.quantumNetBrowserToolStripMenuItem.Visible = false; hijackScreen.Show(); Thread.Sleep(2000); txtHijack.AppendText("PortOS is now booting..." + Environment.NewLine); @@ -128,7 +132,7 @@ namespace Project_Ports } - dclock.Start(); + } -- cgit v1.2.3