Fix setting output CSS file via GUI.

BUG: 361370
parent 280d48e9
--- Version 0.6.5a - UNRELEASED
- Fix bug report feature on Windows TODO: Really test this!
- Fixed: Setting an output CSS file via the GUI did not work
- Fixed: Bug report feature on Windows did nothing TODO: Really test this!
- Avoid some potential encoding issues, that could cause graphical select.list to fail for certain strings, under some circumstances
--- Version 0.6.5 - Apr-02-2016
......
......@@ -168,7 +168,7 @@ RKSettingsModuleOutput::RKSettingsModuleOutput (RKSettings *gui, QWidget *parent
main_vbox->addWidget (group);
custom_css_file_box = new GetFileNameWidget (this, GetFileNameWidget::ExistingFile, true, i18n ("CSS file to use for output (leave empty for default)"), i18n ("Select CSS file"), QString ());
custom_css_file_box = new GetFileNameWidget (this, GetFileNameWidget::ExistingFile, true, i18n ("CSS file to use for output (leave empty for default)"), i18n ("Select CSS file"), custom_css_file);
connect (custom_css_file_box, SIGNAL (locationChanged()), this, SLOT (boxChanged())); // KF5 TODO new syntax
RKCommonFunctions::setTips (i18n ("Select a CSS file for custom formatting of the output window. Leave empty to use the default CSS file shipped with RKWard. Note that this setting takes effect, when initializing an output file (e.g. after flushing the output), only."), custom_css_file_box);
main_vbox->addWidget (custom_css_file_box);
......@@ -235,6 +235,8 @@ void RKSettingsModuleOutput::applyChanges () {
auto_show = auto_show_box->isChecked ();
auto_raise = auto_raise_box->isChecked ();
custom_css_file = custom_css_file_box->getLocation ();
graphics_type = graphics_type_box->itemData (graphics_type_box->currentIndex ()).toString ();
graphics_width = graphics_width_box->value ();
graphics_height = graphics_height_box->value ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment