[LyX/master] Need to refill the toolbars on runtime mode switch on Linux as well

Richard Kimberly Heck rikiheck at gmail.com
Mon Jan 20 16:35:01 UTC 2025


On 1/20/25 7:01 AM, Jürgen Spitzmüller wrote:
> Am Montag, dem 20.01.2025 um 12:00 +0000 schrieb Juergen Spitzmueller:
>> commit 5a814ae0659a1543828a7ef4edef1c9394283b02
>> Author: Juergen Spitzmueller <spitz at lyx.org>
>> Date:   Mon Jan 20 12:59:59 2025 +0100
>>
>>      Need to refill the toolbars on runtime mode switch on Linux as
>> well
>> ---
>>   src/frontends/qt/GuiView.cpp | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/src/frontends/qt/GuiView.cpp
>> b/src/frontends/qt/GuiView.cpp
>> index c121a10f82..302156fd4c 100644
>> --- a/src/frontends/qt/GuiView.cpp
>> +++ b/src/frontends/qt/GuiView.cpp
>> @@ -1818,6 +1818,7 @@ bool GuiView::event(QEvent * e)
>>   	case QEvent::StyleChange: {
>>   		// We need to update metrics here to avoid a crash
>> (#12786)
>>   		theBufferList().changed(true);
>> +		refillToolbars();
>>   		return QMainWindow::event(e);
>
> Also needed for stable

OK.

Riki




More information about the lyx-devel mailing list