mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-02 20:34:07 +02:00
Fix import & restart overwriting some imported settings such as zoom, add a TODO for system config import/export
This commit is contained in:
parent
a3e3d517b0
commit
bc0809994a
Core/Other
@ -62,13 +62,17 @@ private void btnManageOptions_Click(object sender, EventArgs e){
|
||||
currentTab.Control.OnClosing();
|
||||
|
||||
using(DialogSettingsManage dialog = new DialogSettingsManage(plugins)){
|
||||
FormClosing -= FormSettings_FormClosing;
|
||||
|
||||
if (dialog.ShowDialog() == DialogResult.OK){
|
||||
FormClosing -= FormSettings_FormClosing;
|
||||
browser.ResumeNotification();
|
||||
|
||||
ShouldReloadBrowser = dialog.ShouldReloadBrowser;
|
||||
Close();
|
||||
}
|
||||
else{
|
||||
FormClosing += FormSettings_FormClosing;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ namespace TweetDuck.Core.Other.Settings.Export{
|
||||
enum ExportFileFlags{
|
||||
None = 0,
|
||||
UserConfig = 1,
|
||||
SystemConfig = 2,
|
||||
SystemConfig = 2, // TODO implement later
|
||||
Session = 4,
|
||||
PluginData = 8,
|
||||
All = UserConfig|SystemConfig|Session|PluginData
|
||||
|
Loading…
Reference in New Issue
Block a user