mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Revert "No need to set background color of a newly created branch."
This breaks color initialization with new branches in dark mode.
This reverts commit 5145694cd0
.
This commit is contained in:
parent
9dd71b9e4a
commit
c83526c3ca
@ -2943,6 +2943,8 @@ void Buffer::dispatch(FuncRequest const & func, DispatchResult & dr)
|
||||
} else {
|
||||
undo().recordUndoBufferParams(CursorData());
|
||||
branch_list.add(branch_name);
|
||||
branch = branch_list.find(branch_name);
|
||||
branch->setColors("background", "background");
|
||||
dr.setError(false);
|
||||
dr.screenUpdate(Update::Force);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user