summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <[email protected]>2015-03-07 20:13:15 +0300
committerJasem Mutlaq <[email protected]>2015-03-07 20:13:15 +0300
commit69e76da98ae720c9e25e6ebcd6f21b1003a8d1af (patch)
tree6d71bbbe1c7522006ae3af078cfd35cd5692d031
parentd5acad66bb1ecd5bec2f0b48d2435ef7386362a2 (diff)
Disabling user confirmation for saving edited FITS. It's a feature, not a bug
-rw-r--r--kstars/fitsviewer/fitsviewer.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/kstars/fitsviewer/fitsviewer.cpp b/kstars/fitsviewer/fitsviewer.cpp
index f71a207..8f211a4 100644
--- a/kstars/fitsviewer/fitsviewer.cpp
+++ b/kstars/fitsviewer/fitsviewer.cpp
@@ -658,10 +658,13 @@ void FITSViewer::closeTab(int index)
if (tab->getView()->getMode() != FITS_NORMAL)
return;
- int rc = saveUnsaved(index);
+ /* Disabling user confirmation for saving edited FITS
+ Since in most cases the modifications are done to enhance the view and not to change the data
+ This is _intentional_, it's a feature, not a bug! */
+ /*int rc = saveUnsaved(index);
if (rc == 2)
- return;
+ return;*/
fitsMap.remove(tab->getUID());
fitsTabs.removeOne(tab);