[Kst] branches/work/kst/portto4/kst/src/libkstapp
Nicolas Brisset
nicolas.brisset at eurocopter.com
Fri Oct 1 00:42:40 CEST 2010
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()));
More information about the Kst
mailing list