r19510 by jghali - #12703: Wrong behaviour of the colour blindness preview
scribus-commit
scribus-commit at lists.scribus.net
Thu Sep 18 13:27:03 UTC 2014
Author: jghali
Date: Thu Sep 18 13:27:03 2014
New Revision: 19510
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19510
Log:
#12703: Wrong behaviour of the colour blindness preview
Modified:
trunk/Scribus/scribus/scribusview.cpp
Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19510&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Thu Sep 18 13:27:03 2014
@@ -323,10 +323,10 @@
m_ScMW->scrActions["viewEditInPreview"]->setEnabled(false);
Doc->guidesPrefs().framesShown = storedFramesShown;
Doc->guidesPrefs().showControls = storedShowControls;
+ m_canvas->m_viewMode.previewVisual = 0;
+ Doc->previewVisual = 0;
if (m_ScMW->viewToolBar->visualMenu->currentIndex() != Doc->previewVisual)
recalc = true;
- m_canvas->m_viewMode.previewVisual = 0;
- Doc->previewVisual = 0;
m_ScMW->viewToolBar->setDoc(Doc);
}
m_ScMW->appModeHelper->setPreviewMode(inPreview);
More information about the scribus-commit
mailing list