mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
branch: Some fixes for the buttons of the Document and Preferences dialog:
http://bugzilla.lyx.org/show_bug.cgi?id=5295 - set the bc status to INITIAL when the dialog is initialized, and - enable the restore button in the Document dialog. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27686 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
87788aa8e3
commit
5204a42c85
@ -2167,6 +2167,8 @@ void GuiDocument::paramsToDialog()
|
||||
|
||||
pdfSupportModule->optionsLE->setText(
|
||||
toqstr(pdf.quoted_options));
|
||||
|
||||
bc().restore();
|
||||
}
|
||||
|
||||
|
||||
|
@ -2639,7 +2639,9 @@ bool GuiPreferences::initialiseParams(string const &)
|
||||
movers_ = theMovers();
|
||||
colors_.clear();
|
||||
update_screen_font_ = false;
|
||||
|
||||
updateRc(rc_);
|
||||
bc().restore();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -1922,9 +1922,8 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
||||
inset->dispatch(view()->cursor(), fr);
|
||||
} else if (name == "paragraph") {
|
||||
lyx::dispatch(FuncRequest(LFUN_PARAGRAPH_UPDATE));
|
||||
} else if (name == "prefs") {
|
||||
} else if (name == "prefs" || name == "document")
|
||||
updateDialog(name, string());
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -108,6 +108,9 @@ What's new
|
||||
|
||||
- Fix error dialog, which didn't display some messages.
|
||||
|
||||
- Fix enabling and functioning of buttons of document settings and
|
||||
preferences dialogs (bug 5295).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user