mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Save ConnectionFilePath, fix typo in identifier
This commit is contained in:
@@ -152,6 +152,8 @@ namespace mRemoteNG.Connection
|
||||
|
||||
IsConnectionsFileLoaded = true;
|
||||
ConnectionFileName = connectionFileName;
|
||||
Properties.OptionsConnectionsPage.Default.ConnectionFilePath = connectionFileName;
|
||||
|
||||
UsingDatabase = useDatabase;
|
||||
|
||||
if (!import)
|
||||
@@ -308,9 +310,9 @@ namespace mRemoteNG.Connection
|
||||
return GetDefaultStartupConnectionFileName();
|
||||
}
|
||||
*/
|
||||
if (Properties.OptionsConnectionsPage.Default.ConnectrionFilePath != "")
|
||||
if (Properties.OptionsConnectionsPage.Default.ConnectionFilePath != "")
|
||||
{
|
||||
return Properties.OptionsConnectionsPage.Default.ConnectrionFilePath;
|
||||
return Properties.OptionsConnectionsPage.Default.ConnectionFilePath;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -38,12 +38,12 @@ namespace mRemoteNG.Properties {
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string ConnectrionFilePath {
|
||||
public string ConnectionFilePath {
|
||||
get {
|
||||
return ((string)(this["ConnectrionFilePath"]));
|
||||
return ((string)(this["ConnectionFilePath"]));
|
||||
}
|
||||
set {
|
||||
this["ConnectrionFilePath"] = value;
|
||||
this["ConnectionFilePath"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Setting Name="AutoSaveEveryMinutes" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
</Setting>
|
||||
<Setting Name="ConnectrionFilePath" Type="System.String" Scope="User">
|
||||
<Setting Name="ConnectionFilePath" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="cbConnectionsPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
|
||||
Reference in New Issue
Block a user