File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -171,14 +171,14 @@ void TTDCallsQueryWidget::setupUIActions()
171171 m_menu->addAction (" Copy Row" , " Options" , MENU_ORDER_NORMAL);
172172 m_actionHandler.bindAction (" Copy Row" , UIAction ([&]() { copySelectedRow (); }, [&]() { return canCopy (); }));
173173
174- m_menu->addAction (" Copy All " , " Options" , MENU_ORDER_NORMAL);
175- m_actionHandler.bindAction (" Copy All " , UIAction ([&]() { copyEntireTable (); }, [&]() { return m_resultsTable->rowCount () > 0 ; }));
174+ m_menu->addAction (" Copy Table " , " Options" , MENU_ORDER_NORMAL);
175+ m_actionHandler.bindAction (" Copy Table " , UIAction ([&]() { copyEntireTable (); }, [&]() { return m_resultsTable->rowCount () > 0 ; }));
176176
177177 m_menu->addAction (" Column Visibility..." , " Options" , MENU_ORDER_NORMAL);
178178 m_actionHandler.bindAction (" Column Visibility..." , UIAction ([&]() { showColumnVisibilityDialog (); }));
179179
180- m_menu->addAction (" Reset Columns" , " Options" , MENU_ORDER_NORMAL);
181- m_actionHandler.bindAction (" Reset Columns" , UIAction ([&]() { resetColumnsToDefault (); }));
180+ m_menu->addAction (" Reset Columns to Default " , " Options" , MENU_ORDER_NORMAL);
181+ m_actionHandler.bindAction (" Reset Columns to Default " , UIAction ([&]() { resetColumnsToDefault (); }));
182182}
183183
184184
Original file line number Diff line number Diff line change @@ -286,8 +286,8 @@ void TTDMemoryQueryWidget::setupUIActions()
286286 m_menu->addAction (" Copy Table" , " Options" , MENU_ORDER_NORMAL);
287287 m_actionHandler.bindAction (" Copy Table" , UIAction ([&]() { copyEntireTable (); }, [&]() { return m_resultsTable->rowCount () > 0 ; }));
288288
289- m_menu->addAction (" Columns ..." , " Options" , MENU_ORDER_NORMAL);
290- m_actionHandler.bindAction (" Columns ..." , UIAction ([&]() { showColumnVisibilityDialog (); }));
289+ m_menu->addAction (" Column Visibility ..." , " Options" , MENU_ORDER_NORMAL);
290+ m_actionHandler.bindAction (" Column Visibility ..." , UIAction ([&]() { showColumnVisibilityDialog (); }));
291291
292292 m_menu->addAction (" Reset Columns to Default" , " Options" , MENU_ORDER_NORMAL);
293293 m_actionHandler.bindAction (" Reset Columns to Default" , UIAction ([&]() { resetColumnsToDefault (); }));
Original file line number Diff line number Diff line change @@ -1177,6 +1177,12 @@ void GlobalDebuggerUI::SetupMenu(UIContext* context)
11771177 },
11781178 connectedToTTD));
11791179 debuggerMenu->addAction (" TTD Analysis..." , " TTD" );
1180+
1181+ // Register actions for TTD widget context menus
1182+ UIAction::registerAction (" Copy Row" );
1183+ UIAction::registerAction (" Copy Table" );
1184+ UIAction::registerAction (" Column Visibility..." );
1185+ UIAction::registerAction (" Reset Columns to Default" );
11801186#endif
11811187}
11821188
You can’t perform that action at this time.
0 commit comments