mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
feature(*): supports multi-repo editing
This commit is contained in:
parent
3c80f2700c
commit
81a3cb9566
41 changed files with 666 additions and 450 deletions
|
@ -11,7 +11,7 @@ namespace SourceGit.UI {
|
|||
/// <summary>
|
||||
/// Preference window.
|
||||
/// </summary>
|
||||
public partial class Preference : UserControl {
|
||||
public partial class Preference : Window {
|
||||
|
||||
/// <summary>
|
||||
/// Git global user name.
|
||||
|
@ -75,13 +75,6 @@ namespace SourceGit.UI {
|
|||
cmbAutoCRLF.SelectedItem = crlfOptions.Find(o => o.Value == AutoCRLF);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Show preference.
|
||||
/// </summary>
|
||||
public static void Show() {
|
||||
PopupManager.Show(new Preference());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Close this dialog
|
||||
/// </summary>
|
||||
|
@ -95,7 +88,7 @@ namespace SourceGit.UI {
|
|||
var oldAutoCRLF = GetConfig("core.autocrlf");
|
||||
if (oldAutoCRLF != AutoCRLF) SetConfig("core.autocrlf", AutoCRLF);
|
||||
|
||||
PopupManager.Close();
|
||||
Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue