فهرست منبع

UI/AppKit: Re-order field designators to be in declaration order

This is required by C++, but for some reason, only started causing a
compiler error today.
Timothy Flynn 10 ماه پیش
والد
کامیت
9cd34a7d80
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Ladybird/AppKit/UI/TabController.mm

+ 1 - 1
Ladybird/AppKit/UI/TabController.mm

@@ -93,8 +93,8 @@ static NSString* const TOOLBAR_TAB_OVERVIEW_IDENTIFIER = @"ToolbarTabOverviewIde
         [self.toolbar setSizeMode:NSToolbarSizeModeRegular];
 
         m_settings = {
-            .block_popups = WebView::Application::chrome_options().allow_popups == WebView::AllowPopups::Yes ? NO : YES,
             .scripting_enabled = WebView::Application::chrome_options().disable_scripting == WebView::DisableScripting::Yes ? NO : YES,
+            .block_popups = WebView::Application::chrome_options().allow_popups == WebView::AllowPopups::Yes ? NO : YES,
         };
 
         if (auto const& user_agent_preset = WebView::Application::web_content_options().user_agent_preset; user_agent_preset.has_value())