mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Make the toolbar code less noisy when the session file is not found
Conflicts: src/frontends/qt4/GuiToolbar.cpp
This commit is contained in:
parent
3967b7b0db
commit
b674c190e7
@ -358,7 +358,7 @@ void GuiToolbar::restoreSession()
|
|||||||
settings.value(sessionKey() + "/visibility", error_val).toInt();
|
settings.value(sessionKey() + "/visibility", error_val).toInt();
|
||||||
if (visibility == error_val || visibility == 0) {
|
if (visibility == error_val || visibility == 0) {
|
||||||
// This should not happen, but in case we use the defaults
|
// This should not happen, but in case we use the defaults
|
||||||
LYXERR0("Session settings could not be found!. "
|
LYXERR(Debug::GUI, "Session settings could not be found!. "
|
||||||
"Defaults are used instead");
|
"Defaults are used instead");
|
||||||
visibility =
|
visibility =
|
||||||
guiApp->toolbars().defaultVisibility(fromqstr(objectName()));
|
guiApp->toolbars().defaultVisibility(fromqstr(objectName()));
|
||||||
|
@ -108,6 +108,7 @@ What's new
|
|||||||
- Fix problem with configure.py when the user profile path on Windows
|
- Fix problem with configure.py when the user profile path on Windows
|
||||||
contains non-ascii characters (bug 8254).
|
contains non-ascii characters (bug 8254).
|
||||||
|
|
||||||
|
- remove annoying startup debug message.
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user