mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +01:00
master propertie widget:
can link/unlink slave to master can show element by double clic item on the list reset modification git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2878 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -158,10 +158,12 @@ void elementpropertieswidget::standardButtonClicked(QAbstractButton *button) {
|
||||
|
||||
switch (answer) {
|
||||
case QDialogButtonBox::ResetRole:
|
||||
if (mpw_) mpw_->reset();
|
||||
break;
|
||||
case QDialogButtonBox::ApplyRole:
|
||||
if (frp_) frp_->Apply(); //folio report widget
|
||||
else if (eiw_) eiw_->apply(); //element information widget
|
||||
if (frp_) frp_->Apply(); //folio report widget
|
||||
if (eiw_) eiw_->apply(); //element information widget
|
||||
if (mpw_) mpw_->apply(); //master property widget
|
||||
this->accept();
|
||||
case QDialogButtonBox::RejectRole:
|
||||
this->reject();
|
||||
|
||||
Reference in New Issue
Block a user