mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Make the toolbar code less noisy when the session file is not found
This commit is contained in:
parent
2e1c618824
commit
02ce050fb8
@ -358,7 +358,7 @@ void GuiToolbar::restoreSession()
|
||||
settings.value(sessionKey() + "/visibility", error_val).toInt();
|
||||
if (visibility == error_val || visibility == 0) {
|
||||
// This should not happen, but in case we use the defaults
|
||||
LYXERR0("Session settings could not be found! Defaults are used instead.");
|
||||
LYXERR(Debug::GUI, "Session settings could not be found! Defaults are used instead.");
|
||||
visibility =
|
||||
guiApp->toolbars().defaultVisibility(fromqstr(objectName()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user