Skip to content
Snippets Groups Projects
Commit e53fc866 authored by hjk's avatar hjk
Browse files

debugger: fix modules window context menu

parent 589cc43a
Branches
Tags
No related merge requests found
...@@ -107,10 +107,6 @@ void ModulesWindow::contextMenuEvent(QContextMenuEvent *ev) ...@@ -107,10 +107,6 @@ void ModulesWindow::contextMenuEvent(QContextMenuEvent *ev)
QMenu menu; QMenu menu;
QAction *act0 = new QAction(tr("Update module list"), &menu); QAction *act0 = new QAction(tr("Update module list"), &menu);
QAction *act1 = new QAction(tr("Adjust column widths to contents"), &menu);
QAction *act2 = new QAction(tr("Always adjust column widths to contents"), &menu);
act2->setCheckable(true);
act2->setChecked(m_alwaysResizeColumnsToContents);
QAction *act3 = new QAction(tr("Show source files for module \"%1\"").arg(name), QAction *act3 = new QAction(tr("Show source files for module \"%1\"").arg(name),
&menu); &menu);
QAction *act4 = new QAction(tr("Load symbols for all modules"), &menu); QAction *act4 = new QAction(tr("Load symbols for all modules"), &menu);
...@@ -140,6 +136,8 @@ void ModulesWindow::contextMenuEvent(QContextMenuEvent *ev) ...@@ -140,6 +136,8 @@ void ModulesWindow::contextMenuEvent(QContextMenuEvent *ev)
menu.addAction(tr("Adjust column widths to contents")); menu.addAction(tr("Adjust column widths to contents"));
QAction *actAlwaysAdjustColumnWidth = QAction *actAlwaysAdjustColumnWidth =
menu.addAction(tr("Always adjust column widths to contents")); menu.addAction(tr("Always adjust column widths to contents"));
actAlwaysAdjustColumnWidth->setCheckable(true);
actAlwaysAdjustColumnWidth->setChecked(m_alwaysResizeColumnsToContents);
menu.addSeparator(); menu.addSeparator();
menu.addAction(theDebuggerAction(SettingsDialog)); menu.addAction(theDebuggerAction(SettingsDialog));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment