mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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/trunk@27683 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b394f9998f
commit
d6f4fb4944
@ -2167,6 +2167,8 @@ void GuiDocument::paramsToDialog()
|
||||
|
||||
pdfSupportModule->optionsLE->setText(
|
||||
toqstr(pdf.quoted_options));
|
||||
|
||||
bc().restore();
|
||||
}
|
||||
|
||||
|
||||
|
@ -2597,7 +2597,9 @@ bool GuiPreferences::initialiseParams(string const &)
|
||||
movers_ = theMovers();
|
||||
colors_.clear();
|
||||
update_screen_font_ = false;
|
||||
|
||||
updateRc(rc_);
|
||||
bc().restore();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -1999,7 +1999,7 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user