@@ -273,18 +273,23 @@ void TTDMemoryQueryWidget::setupUIActions()
273273 m_menu = new Menu ();
274274
275275 // Add Copy action with Ctrl+C support
276+ UIAction::registerAction (" Copy" );
276277 m_menu->addAction (" Copy" , " Options" , MENU_ORDER_NORMAL);
277278 m_actionHandler.bindAction (" Copy" , UIAction ([&]() { copy (); }, [&]() { return canCopy (); }));
278279
280+ UIAction::registerAction (" Copy Row" );
279281 m_menu->addAction (" Copy Row" , " Options" , MENU_ORDER_NORMAL);
280282 m_actionHandler.bindAction (" Copy Row" , UIAction ([&]() { copySelectedRow (); }, [&]() { return canCopy (); }));
281283
284+ UIAction::registerAction (" Copy Table" );
282285 m_menu->addAction (" Copy Table" , " Options" , MENU_ORDER_NORMAL);
283286 m_actionHandler.bindAction (" Copy Table" , UIAction ([&]() { copyEntireTable (); }, [&]() { return m_resultsTable->rowCount () > 0 ; }));
284287
288+ UIAction::registerAction (" Columns..." );
285289 m_menu->addAction (" Columns..." , " Options" , MENU_ORDER_NORMAL);
286290 m_actionHandler.bindAction (" Columns..." , UIAction ([&]() { showColumnVisibilityDialog (); }));
287291
292+ UIAction::registerAction (" Reset Columns to Default" );
288293 m_menu->addAction (" Reset Columns to Default" , " Options" , MENU_ORDER_NORMAL);
289294 m_actionHandler.bindAction (" Reset Columns to Default" , UIAction ([&]() { resetColumnsToDefault (); }));
290295}
0 commit comments