Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
42ce52e9
Commit
42ce52e9
authored
Mar 07, 2013
by
Stéphane Albert
Browse files
ENH: Written dataset descriptor when clicked save button of confirm dialog.
parent
8863131c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Code/Application/mvdMainWindow.cxx
View file @
42ce52e9
...
...
@@ -400,6 +400,7 @@ MainWindow::closeEvent( QCloseEvent* event )
switch
(
clickedButton
)
{
case
QMessageBox
::
Save
:
model
->
Save
();
break
;
case
QMessageBox
::
Discard
:
...
...
Code/Common/mvdDatasetModel.cxx
View file @
42ce52e9
...
...
@@ -270,6 +270,14 @@ DatasetModel
return
false
;
}
/*******************************************************************************/
void
DatasetModel
::
Save
()
const
{
WriteDescriptor
();
}
/*******************************************************************************/
/* SLOTS */
/*******************************************************************************/
...
...
Code/Common/mvdDatasetModel.h
View file @
42ce52e9
...
...
@@ -152,6 +152,10 @@ public:
*/
inline
ConstAbstractImageModelList
GetImageModels
()
const
;
/**
*/
void
Save
()
const
;
//
// AbstractModel overrides.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment