Author: kitone
Date: Fri Jan 9 20:35:23 2015
New Revision: 886
URL: http://svn.gna.org/viewcvs/subtitleeditor?rev=886&view=rev
Log:
Fix bug #22489 : Text correction - save the config, on close, save and cancel.
Modified:
trunk/ChangeLog
trunk/plugins/actions/textcorrection/textcorrection.cc
Modified: trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/subtitleeditor/trunk/ChangeLog?rev=886&r1=885&r2=886&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Fri Jan 9 20:35:23 2015
@@ -1,4 +1,9 @@
-2015-01-09 kitone <[email protected]>
+2015-01-09 kitone <[email protected]>
+
+ * plugins/actions/textcorrection/textcorrection.cc:
+ Fix bug #22489 : Text correction - save the config, on close, save and
cancel.
+
+2015-01-09 kitone <[email protected]>
* plugins/actions/textcorrection/patternspage.h:
* plugins/actions/textcorrection/textcorrection.cc:
Modified: trunk/plugins/actions/textcorrection/textcorrection.cc
URL:
http://svn.gna.org/viewcvs/subtitleeditor/trunk/plugins/actions/textcorrection/textcorrection.cc?rev=886&r1=885&r2=886&view=diff
==============================================================================
--- trunk/plugins/actions/textcorrection/textcorrection.cc (original)
+++ trunk/plugins/actions/textcorrection/textcorrection.cc Fri Jan 9
20:35:23 2015
@@ -145,8 +145,6 @@
se_debug(SE_DEBUG_PLUGINS);
m_comfirmationPage->apply(doc);
-
- se_debug_message(SE_DEBUG_PLUGINS, "save config...");
save_cfg();
}
@@ -157,6 +155,9 @@
void on_cancel()
{
se_debug(SE_DEBUG_PLUGINS);
+
+ save_cfg();
+
//destroy_();
delete this;
}
@@ -167,6 +168,9 @@
void on_close()
{
se_debug(SE_DEBUG_PLUGINS);
+
+ save_cfg();
+
//destroy_();
delete this;
}
_______________________________________________
Subtitleeditor-commits mailing list
[email protected]
https://mail.gna.org/listinfo/subtitleeditor-commits