* Set inputed values of editable ports and then closes and destroys dialog
*/
void SUPERVGUI_BrowseNodeDlg::accept() {
+ myNodeCanvas->getMain()->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
if ( myIsEditable ) {
SUPERVGUI_PortField* aField;
for ( aField = myPortsList.first(); aField; aField = myPortsList.next() ) {
* Set entered value into port and then closes and destroys dialog
*/
void SUPERVGUI_GetValueDlg::accept() {
+ myPortCanvas->getMain()->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
if ( myField->setNewValue() ) {
myPortCanvas->sync();
}
void SUPERVGUI_StreamInDlg::accept() {
+ myPortCanvas->getMain()->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
myPortCanvas->getStreamEngine()->SetParams((SUPERV::KindOfSchema) mySchemaCombo->currentItem(),
(SUPERV::KindOfInterpolation) myInterCombo->currentItem(),
(SUPERV::KindOfExtrapolation) myExterCombo->currentItem());
void SUPERVGUI_CanvasNode::browse()
{
- myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
+ // asv 28.01.05 : set "Editing" flag only on "OK" pressed in BrowseDlg
+ //myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
if (!myBrowseDlg) {
myBrowseDlg = new SUPERVGUI_BrowseNodeDlg(this);
myBrowseDlg->installEventFilter(this);
void SUPERVGUI_CanvasPortIn::setInput()
{
- getMain()->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
+ // asv 28.01.05 : set "Editing" flag only on "OK" pressed in BrowseDlg
+ //getMain()->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
if (!myDlg) {
myDlg = new SUPERVGUI_GetValueDlg(this);
myDlg->installEventFilter(this);