[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/libkstapp
From:       Nicolas Brisset <nicolas.brisset () eurocopter ! com>
Date:       2010-09-30 22:42:40
Message-ID: 20100930224240.A38C5AC891 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181406 by brisset:

Show the "Contents" by default when opening the dialog. I'm not sure
that's the best place to do it, though... Has te be checked when
implementing the changes for the new plot dialog.

CCBUG: 252289


 M  +5 -4      plotitemdialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/plotitemdialog.cpp #1181405:1181406
@@ -47,10 +47,10 @@
 
   _contentTab = new ContentTab(this);
   connect(_contentTab, SIGNAL(apply()), this, SLOT(contentChanged()));
-  DialogPage *page = new DialogPage(this);
-  page->setPageTitle(tr("Contents"));
-  page->addDialogTab(_contentTab);
-  addDialogPage(page, true);
+  DialogPage *contentsPage = new DialogPage(this);
+  contentsPage->setPageTitle(tr("Contents"));
+  contentsPage->addDialogTab(_contentTab);
+  addDialogPage(contentsPage, true);
 
   _labelTab = new LabelTab(_plotItem, this);
   _topLabelTab = new OverrideLabelTab(tr("Top Font"), this);
@@ -137,6 +137,7 @@
     addMultipleEditOption(plot->plotName(), plot->descriptionTip(), plot->shortName());
   }
 
+  selectDialogPage(contentsPage);
   _saveAsDefault->show();
 
   connect(this, SIGNAL(editMultipleMode()), this, SLOT(editMultiple()));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic