mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +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 5145694cd067e221a661e0d6c7dce4ed5ca22e37.
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…
x
Reference in New Issue
Block a user