Merge branch 'new_panels' of https://vcs.maemo.org/git/situare into new_panels
authorPekka Nissinen <pekka.nissinen@ixonos.com>
Mon, 16 Aug 2010 10:28:52 +0000 (13:28 +0300)
committerPekka Nissinen <pekka.nissinen@ixonos.com>
Mon, 16 Aug 2010 10:28:52 +0000 (13:28 +0300)
1  2 
src/ui/tabbedpanel.cpp
src/ui/tabbedpanel.h

@@@ -142,12 -147,10 +146,13 @@@ void TabbedPanel::setCurrentIndex(int i
  {
      qDebug() << __PRETTY_FUNCTION__;
  
+ ///< @todo if ((first) && (second)) {
      if (index < m_panelWidgetStack->count() && index >= 0) {
          m_panelWidgetStack->setCurrentIndex(index);
 -        openPanel();
 +
 +        if(!m_isOpen)
 +            emit toggleState();
 +
          emit currentChanged(index);
      }
  }
Simple merge