Commit 83a1fba4 authored by David Fuhrmann's avatar David Fuhrmann

macosx: do not break prefs animation in case of double clicks on toolbar (close #11469)

parent cdd3630b
...@@ -1088,6 +1088,9 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha ...@@ -1088,6 +1088,9 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
o_win_rect = [o_sprefs_win frame]; o_win_rect = [o_sprefs_win frame];
o_view_rect = [o_new_category_view frame]; o_view_rect = [o_new_category_view frame];
if (o_currentlyShownCategoryView == o_new_category_view)
return;
if (o_currentlyShownCategoryView != nil) { if (o_currentlyShownCategoryView != nil) {
/* restore our window's height, if we've shown another category previously */ /* restore our window's height, if we've shown another category previously */
o_old_view_rect = [o_currentlyShownCategoryView frame]; o_old_view_rect = [o_currentlyShownCategoryView frame];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment