mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-09 06:15:49 +02:00
Fix some config options not being committed before opening Manage Options
This commit is contained in:
parent
c28615d548
commit
7601645c12
@ -54,8 +54,17 @@ private void FormSettings_FormClosing(object sender, FormClosingEventArgs e){
|
||||
}
|
||||
|
||||
private void btnManageOptions_Click(object sender, EventArgs e){
|
||||
foreach(SettingsTab tab in tabs.Values){
|
||||
if (tab.IsInitialized){
|
||||
tab.Control.OnClosing();
|
||||
}
|
||||
}
|
||||
|
||||
using(DialogSettingsManage dialog = new DialogSettingsManage(plugins)){
|
||||
if (dialog.ShowDialog() == DialogResult.OK){
|
||||
FormClosing -= FormSettings_FormClosing;
|
||||
browser.ResumeNotification();
|
||||
|
||||
ShouldReloadBrowser = dialog.ShouldReloadBrowser;
|
||||
Close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user