Index: core/details/mux/baseMuxWindow.cs
===================================================================
--- core/details/mux/baseMuxWindow.cs (revision 385)
+++ core/details/mux/baseMuxWindow.cs (working copy)
@@ -48,7 +48,6 @@
private MeGUISettings settings;
// private int lastSubtitle = 0;
protected Label videoInputLabel;
- protected OpenFileDialog openFileDialog;
protected Button muxButton;
protected Label MuxFPSLabel;
protected Label chaptersInputLabel;
@@ -210,7 +209,6 @@
this.splitting = new MeGUI.core.gui.TargetSizeSCBox();
this.output = new MeGUI.FileBar();
this.muxedOutputLabel = new System.Windows.Forms.Label();
- this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.cancelButton = new System.Windows.Forms.Button();
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.audioPanel = new System.Windows.Forms.Panel();
Index: core/details/mux/baseMuxWindow.resx
===================================================================
--- core/details/mux/baseMuxWindow.resx (revision 385)
+++ core/details/mux/baseMuxWindow.resx (working copy)
@@ -117,9 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 17, 17
-
141, 17
Index: core/gui/FileBar.cs
===================================================================
--- core/gui/FileBar.cs (revision 385)
+++ core/gui/FileBar.cs (working copy)
@@ -86,14 +86,26 @@
}
else
{
- FileDialog dialog = saveMode ?
- (FileDialog)new SaveFileDialog() :
- (FileDialog)new OpenFileDialog();
+ if (saveMode)
+ {
+ FileDialog dialog = new SaveFileDialog();
+ /* (FileDialog)new SaveFileDialog() :
+ (FileDialog)new OpenFileDialog();*/
- dialog.Filter = filter;
- dialog.Title = title;
- if (dialog.ShowDialog() == DialogResult.OK)
- setFilename(dialog.FileName);
+ dialog.Filter = filter;
+ dialog.Title = title;
+ if (dialog.ShowDialog() == DialogResult.OK)
+ setFilename(dialog.FileName);
+ }
+ else
+ {
+ CmdOpenFileDialog dialog = new CmdOpenFileDialog();
+ dialog.Filter = filter;
+ dialog.Title = title;
+ if (dialog.ShowDialog() == DialogResult.OK)
+ setFilename(dialog.FileName);
+
+ }
}
}
Index: core/gui/FileSCBox.cs
===================================================================
--- core/gui/FileSCBox.cs (revision 385)
+++ core/gui/FileSCBox.cs (working copy)
@@ -13,7 +13,7 @@
base.Getter = new Getter