Commit 63431e75 authored by Marco Costalba's avatar Marco Costalba Committed by Sam Ravnborg
Browse files

kconfig/xconfig: sync main view with search dialog current menu

When changing current menu in search dialog update also main view

Signed-off-by: default avatarMarco Costalba <>
Signed-off-by: default avatarSam Ravnborg <>
parent f88d2055
......@@ -1182,7 +1182,7 @@ void ConfigInfoView::contentsContextMenuEvent(QContextMenuEvent *e)
ConfigSearchWindow::ConfigSearchWindow(QWidget* parent, const char *name)
ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow* parent, const char *name)
: Parent(parent, name), result(NULL)
setCaption("Search Config");
......@@ -1206,6 +1206,9 @@ ConfigSearchWindow::ConfigSearchWindow(QWidget* parent, const char *name)
info = new ConfigInfoView(split, name);
connect(list->list, SIGNAL(menuChanged(struct menu *)),
info, SLOT(setInfo(struct menu *)));
connect(list->list, SIGNAL(menuChanged(struct menu *)),
parent, SLOT(setMenuLink(struct menu *)));
if (name) {
......@@ -279,7 +279,7 @@ class ConfigSearchWindow : public QDialog {
typedef class QDialog Parent;
ConfigSearchWindow(QWidget* parent, const char *name = 0);
ConfigSearchWindow(ConfigMainWindow* parent, const char *name = 0);
public slots:
void saveSettings(void);
Supports Markdown
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