[win-linux] fix bug 64520

This commit is contained in:
SimplestStudio
2025-02-20 11:56:55 +02:00
parent 3f14b31821
commit d2b00f4a71

View File

@ -68,7 +68,7 @@ using namespace NSNetwork::NSFileTransport;
auto prepare_editor_css(AscEditorType type, const CTheme& theme) -> QString {
std::wstring c;
switch (type) {
default: c = theme.value(CTheme::ColorRole::ecrTabWordActive); break;
default: c = theme.value(CTheme::ColorRole::ecrWindowBackground); break;
case AscEditorType::etDocument: c = theme.value(CTheme::ColorRole::ecrTabWordActive); break;
case AscEditorType::etPresentation: c = theme.value(CTheme::ColorRole::ecrTabSlideActive); break;
case AscEditorType::etSpreadsheet: c = theme.value(CTheme::ColorRole::ecrTabCellActive); break;