Alfredo Braunstein wrote:
This whole current_layout business smells bad though...
Indeed.
Jürgen
Alfredo Braunstein wrote:
> This whole current_layout business smells bad though...
Indeed.
Jürgen
The attached onliner fixes the issue for me (and Uwe).
Explanation: if current_layout is updated here, the test in LyXView.cpp:462
returns false and the combo is not updated. Furthermore, current_layout will
be reset in LyXView.cpp (after the combo update).
OK?
Jürgen
Index: src/Text3.cpp
On Friday 22 June 2007 16:37:53 Jürgen Spitzmüller wrote:
The attached onliner fixes the issue for me (and Uwe).
Explanation: if current_layout is updated here, the test in LyXView.cpp:462
returns false and the combo is not updated. Furthermore, current_layout
will be reset in LyXView.cpp
Jürgen Spitzmüller wrote:
The attached onliner fixes the issue for me (and Uwe).
Explanation: if current_layout is updated here, the test in
LyXView.cpp:462 returns false and the combo is not updated. Furthermore,
current_layout will be reset in LyXView.cpp (after the combo update).
OK?
Explanation: if current_layout is updated here, the test in LyXView.cpp:462
returns false and the combo is not updated. Furthermore, current_layout
will be reset in LyXView.cpp (after the combo update).
Does this fix the issue of layout change with shortcut?
Bo
Does this fix the issue of layout change with shortcut?
Yes.
Uwe
The attached onliner fixes the issue for me (and Uwe).
Explanation: if current_layout is updated here, the test in LyXView.cpp:462
returns false and the combo is not updated. Furthermore, current_layout will
be reset in LyXView.cpp (after the combo update).
OK?
Jürgen
Index: src/Text3.cpp
On Friday 22 June 2007 16:37:53 Jürgen Spitzmüller wrote:
> The attached onliner fixes the issue for me (and Uwe).
>
> Explanation: if current_layout is updated here, the test in LyXView.cpp:462
> returns false and the combo is not updated. Furthermore, current_layout
> will be reset in
Jürgen Spitzmüller wrote:
> The attached onliner fixes the issue for me (and Uwe).
>
> Explanation: if current_layout is updated here, the test in
> LyXView.cpp:462 returns false and the combo is not updated. Furthermore,
> current_layout will be reset in LyXView.cpp (after the combo update).
>
> Explanation: if current_layout is updated here, the test in LyXView.cpp:462
> returns false and the combo is not updated. Furthermore, current_layout
> will be reset in LyXView.cpp (after the combo update).
Does this fix the issue of layout change with shortcut?
Bo
> Does this fix the issue of layout change with shortcut?
Yes.
Uwe
12 matches
Mail list logo