From 8bf85a6919e4d0ea93eb7bce8b394f4b5219ee59 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 17 Aug 2010 12:15:06 +0000 Subject: Fix value set in combobox. Make wiodgets with no valu run their onChange events on startup. --- client/macrowindow.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/macrowindow.cc') diff --git a/client/macrowindow.cc b/client/macrowindow.cc index 49f3782..6e7249e 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -118,7 +118,12 @@ void MacroWindow::initMacro(QDomNode &node) clear(); } + DEBUG(mainwindow, "----------------------Before--------------------------"); + Window *window = new Window(elem, this); + + DEBUG(mainwindow, "----------------------After--------------------------"); + connect(window, SIGNAL(wasChanged()), this, SLOT(macroChanged())); macrotitle = elem.attribute("caption"); -- cgit v1.2.3