]> granicus.if.org Git - handbrake/commitdiff
WinGui:
authorsr55 <sr55.hb@outlook.com>
Mon, 22 Jun 2009 20:27:46 +0000 (20:27 +0000)
committersr55 <sr55.hb@outlook.com>
Mon, 22 Jun 2009 20:27:46 +0000 (20:27 +0000)
- Fixed Query Editor tab option that got broken in the last commit.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2601 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/Properties/Settings.Designer.cs
win/C#/Properties/Settings.settings
win/C#/app.config
win/C#/frmMain.cs

index c30705a1fea77a4e29aceb3dcf81c0b32f9b52ff..76b8490c5b4453c3548c63ce0e659046dfefba8d 100644 (file)
@@ -277,7 +277,7 @@ namespace Handbrake.Properties {
         \r
         [global::System.Configuration.UserScopedSettingAttribute()]\r
         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]\r
+        [global::System.Configuration.DefaultSettingValueAttribute("True")]\r
         public bool MainWindowMinimize {\r
             get {\r
                 return ((bool)(this["MainWindowMinimize"]));\r
index c710782bdffa9f12c459cd4f2dcabac0cfe6a62a..df43d5f660334ab5a4edc112223ea9093a39ecc3 100644 (file)
@@ -66,7 +66,7 @@
       <Value Profile="(Default)">C:\Program Files\VideoLAN\vlc\vlc.exe</Value>\r
     </Setting>\r
     <Setting Name="MainWindowMinimize" Type="System.Boolean" Scope="User">\r
-      <Value Profile="(Default)">False</Value>\r
+      <Value Profile="(Default)">True</Value>\r
     </Setting>\r
     <Setting Name="QueryEditorTab" Type="System.Boolean" Scope="User">\r
       <Value Profile="(Default)">False</Value>\r
index acd4d45caa5f97226fa45fb8b65ce2eba405c56b..9a95c030e4c1b3fd9ca069d8c7fa4bf4ca2c9a72 100644 (file)
@@ -71,7 +71,7 @@
                 <value>C:\Program Files\VideoLAN\vlc\vlc.exe</value>\r
             </setting>\r
             <setting name="MainWindowMinimize" serializeAs="String">\r
-                <value>False</value>\r
+                <value>True</value>\r
             </setting>\r
             <setting name="QueryEditorTab" serializeAs="String">\r
                 <value>False</value>\r
index c192be541ad2abdc90ff94666f8b7ed48a738956..d9789b5db6ef5bd523374999c413bca04e3a16b8 100644 (file)
@@ -82,7 +82,7 @@ namespace Handbrake
             treeView_presets.ExpandAll();\r
             lbl_encode.Text = "";\r
             queueWindow = new frmQueue(encodeQueue);        // Prepare the Queue\r
-            if (Properties.Settings.Default.QueryEditorTab)\r
+            if (!Properties.Settings.Default.QueryEditorTab)\r
                 tabs_panel.TabPages.RemoveAt(7); // Remove the query editor tab if the user does not want it enabled.\r
 \r
             // Load the user's default settings or Normal Preset\r