diff options
author | deva <deva> | 2011-02-22 15:41:12 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-22 15:41:12 +0000 |
commit | 47561fdd6e67ab1918acf8f44ed54759bdf467a7 (patch) | |
tree | 8646d75d7007f1d962fde4a0a326755cdaff0490 /client/macrowindow.cc | |
parent | bb1c42800a2f48129100222317520b690f13c40e (diff) |
Make collapser use QPixmap during animation.
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r-- | client/macrowindow.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc index 481ee0c..04cc2cb 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -233,13 +233,14 @@ void MacroWindow::expandWrapper() } } } - if(mainwidget) setExpandedWidget(mainwidget->qwidget()); - expand(); - // Set values here, to be sure that the widgets are visible and thereby - // validate correctly. + // Set values here, to be sure that the widgets are visible to the value + // system and thereby validate correctly. if(mainwidget) mainwidget->setValues(); + if(mainwidget) setExpandedWidget(mainwidget->qwidget()); + expand(); + // Set keyboard focus on the first focusable widget in the macro. QVector< Widget* > widgets; if(mainwidget) widgets = mainwidget->widgetList(true); |